diff --git a/epicardium/modules/config.c b/epicardium/modules/config.c
index 6bd22d22bc8212e2db15d5bdc568446c9794029e..9f3e75f43a2fc08cb30e8a556633bf94c94f5488 100644
--- a/epicardium/modules/config.c
+++ b/epicardium/modules/config.c
@@ -14,7 +14,7 @@
 #define MAX_LINE_LENGTH 80
 #define KEYS_PER_BLOCK 16
 #define KEY_LENGTH 16
-#define NOT_INT_MAGIC 0x80000000
+#define NOT_INT_MAGIC ((int)0x80000000)
 
 // one key-value pair representing a line in the config
 typedef struct {