]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - stat.c
Only g++ is this retarded
[xonotic/gmqcc.git] / stat.c
diff --git a/stat.c b/stat.c
index e46102da51d3ec8e337cfb49217615be63af7f56..6987cf7b40a2f376f1bc6ac37dfe1ef3c49fe07d 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -685,7 +685,7 @@ void util_htdel(hash_table_t *ht) {
  * information.
  */
 static void stat_dump_mem_contents(stat_mem_block_t *block, uint16_t cols) {
-    unsigned char *buffer = mem_a(cols);
+    unsigned char *buffer = (unsigned char *)mem_a(cols);
     unsigned char *memory = (unsigned char *)(block + 1);
     size_t         i;