aboutsummaryrefslogtreecommitdiffstats
path: root/uuid/unparse.c
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2022-05-25 18:20:38 -0400
committerCameron Katri <me@cameronkatri.com>2022-05-25 18:20:38 -0400
commit3dbb2ce2ea8b12867db0e24d4bd6c7c6501f5d5d (patch)
tree34b4c2f32dca91660db151412cd94ce5a4d58ece /uuid/unparse.c
parenta902c812e98dd53cf9f16b5175f7c1f87e780b53 (diff)
downloadtrustcache-3dbb2ce2ea8b12867db0e24d4bd6c7c6501f5d5d.tar.gz
trustcache-3dbb2ce2ea8b12867db0e24d4bd6c7c6501f5d5d.tar.zst
trustcache-3dbb2ce2ea8b12867db0e24d4bd6c7c6501f5d5d.zip
Fix some portability issues
Diffstat (limited to 'uuid/unparse.c')
-rw-r--r--uuid/unparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uuid/unparse.c b/uuid/unparse.c
index 3beca91..3f0e66f 100644
--- a/uuid/unparse.c
+++ b/uuid/unparse.c
@@ -39,7 +39,7 @@
void uuid_unparse(const uuid_t uu, char *out)
{
const uint8_t *uuid_array = (const uint8_t *)uu;
- int uuid_index;
+ unsigned int uuid_index;
static const char *fmt = "0123456789ABCDEF";
for ( uuid_index = 0; uuid_index < sizeof(uuid_t); ++uuid_index ) {