From b0ba0a427e9c3f633a5b2b1e18e14a8bbee37352 Mon Sep 17 00:00:00 2001 From: Rahix <rahix@rahix.de> Date: Fri, 6 Dec 2019 12:04:34 +0100 Subject: [PATCH] chore(config): Fix a sign-compare warning Signed-off-by: Rahix <rahix@rahix.de> --- epicardium/modules/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epicardium/modules/config.c b/epicardium/modules/config.c index 6bd22d22..9f3e75f4 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 { -- GitLab