]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
Fix compile warnings from gcc and g++
[xonotic/darkplaces.git] / model_shared.h
index 38469a560dea575a83d3700d43d6817f36639239..5c38de4d3f0c789fbdd03f5dcd71f76bf58367d3 100644 (file)
@@ -1074,8 +1074,8 @@ extern unsigned char *mod_base;
 
 typedef struct modloader_s
 {
-       char *extension;
-       char *header;
+       const char *extension;
+       const char *header;
        size_t headersize; // The header might not be NULL terminated
        void (*Load)(dp_model_t *, void *, void *);
 } modloader_t;