aboutsummaryrefslogtreecommitdiffstats
path: root/uuid
diff options
context:
space:
mode:
Diffstat (limited to 'uuid')
-rw-r--r--uuid/unparse.c2
-rw-r--r--uuid/uuid.h2
2 files changed, 2 insertions, 2 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 ) {
diff --git a/uuid/uuid.h b/uuid/uuid.h
index a4be9a5..2ffbee7 100644
--- a/uuid/uuid.h
+++ b/uuid/uuid.h
@@ -1,7 +1,7 @@
#ifndef _UUID_H_
#define _UUID_H_
-#include <sys/types.h>
+#include <stdint.h>
typedef unsigned char uuid_t[16];