]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - gmqcc.h
TODO
[xonotic/gmqcc.git] / gmqcc.h
diff --git a/gmqcc.h b/gmqcc.h
index 07f8c957caaa56389f8c282761bb4bdc4ec2c874..0696eb87e3879fe56fd2e4a9137cae2b9a0af6ec 100644 (file)
--- a/gmqcc.h
+++ b/gmqcc.h
@@ -168,7 +168,7 @@ char *stat_mem_strdup(const char *, bool);
 #define mem_d(PTRN)              free((void*)PTRN)
 #define mem_r(PTRN, SIZE)        realloc((void*)PTRN, SIZE)
 
-#define util_strdup(SRC)         stat_mem_strdup((char*)(SRC), false)
+#define util_strdup(SRC)         stat_mem_strdup((const char*)(SRC), false)
 #define util_strdupe(SRC)        stat_mem_strdup((char*)(SRC), true)
 
 #define util_isalpha(a) ((((unsigned)(a)|32)-'a') < 26)