summaryrefslogtreecommitdiff
path: root/include/gf_w32.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gf_w32.h')
-rw-r--r--include/gf_w32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gf_w32.h b/include/gf_w32.h
index 3396402..7734f30 100644
--- a/include/gf_w32.h
+++ b/include/gf_w32.h
@@ -14,7 +14,7 @@
#include <stdint.h>
#define GF_FIELD_WIDTH (32)
-#define GF_FIRST_BIT (1 << 31)
+#define GF_FIRST_BIT ((gf_val_32_t)1 << 31)
#define GF_BASE_FIELD_WIDTH (16)
#define GF_BASE_FIELD_SIZE (1 << GF_BASE_FIELD_WIDTH)