]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - common.h
made darkplaces compile successfully with g++ to test for errors C doesn't care about...
[xonotic/darkplaces.git] / common.h
index c94e668f3298a831f48dd8a0ca7749ec42e57a9a..699c45987cf011e0d0b16c4f0c4c996e119c0c5d 100644 (file)
--- a/common.h
+++ b/common.h
@@ -50,8 +50,8 @@ typedef struct sizebuf_s
 } sizebuf_t;
 
 void SZ_Clear (sizebuf_t *buf);
-void *SZ_GetSpace (sizebuf_t *buf, int length);
-void SZ_Write (sizebuf_t *buf, const void *data, int length);
+qbyte *SZ_GetSpace (sizebuf_t *buf, int length);
+void SZ_Write (sizebuf_t *buf, const qbyte *data, int length);
 void SZ_HexDumpToConsole(const sizebuf_t *buf);
 
 void Com_HexDumpToConsole(const qbyte *data, int size);