ref: 86a529fdcd4a847a3a4a1ea8181420e2ad2cf71e
parent: 3cb9c8f44fe281dce71ec108a51b0a6bf6955301
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Wed Jan 13 13:13:55 EST 2021
fix a warning on 386
--- a/microui.c
+++ b/microui.c
@@ -278,7 +278,7 @@
}
/* 32bit fnv-1a hash */
-#define HASH_INITIAL 2166136261
+#define HASH_INITIAL 2166136261U
static void
hash(mu_Id *hash, const void *data, int size)
--- a/microui.h
+++ b/microui.h
@@ -1,6 +1,6 @@
#pragma lib "libmicroui.a"
-typedef unsigned mu_Id;
+typedef u32int mu_Id;
typedef struct mu_Command mu_Command;
typedef struct mu_Container mu_Container;