diff --git a/src/uuid/uuid.h b/src/uuid/uuid.h index b110649..ef13cfc 100644 --- a/src/uuid/uuid.h +++ b/src/uuid/uuid.h @@ -13,7 +13,7 @@ BEGIN_C_LINKAGE #define UUID_BUF_LENGTH 48 #define WAPP_UUID_SPEC WAPP_STR8_SPEC -#define wapp_uuid_varg(UUID) wapp_str8_varg((UUID).uuid) +#define wapp_uuid_varg(WUUID) wapp_str8_varg((WUUID).uuid) typedef struct wapp_uuid WUUID; struct wapp_uuid { @@ -24,7 +24,7 @@ struct wapp_uuid { /* Low level UUID API */ -#define wapp_uuid_create() ((UUID){.uuid = wapp_str8_buf(UUID_BUF_LENGTH)}) +#define wapp_uuid_create() ((WUUID){.uuid = wapp_str8_buf(UUID_BUF_LENGTH)}) // Just returns the same pointer that was passed in with the UUID initialised. // Fails when passed a NULL pointer.