shithub: choc

Download patch

ref: a92aafbe90b7f2e352e1148ee208ac50c72e63d5
parent: d577415903b45bc468fca40326d304bd7dcccd1f
author: Turo Lamminen <[email protected]>
date: Tue May 15 14:45:36 EDT 2018

heretic: Fix const correctness issues in R_InitTextures

--- a/src/heretic/r_data.c
+++ b/src/heretic/r_data.c
@@ -309,7 +309,7 @@
     int offset, maxoff, maxoff2;
     int numtextures1, numtextures2;
     int *directory;
-    char *texture1, *texture2, *pnames;
+    const char *texture1, *texture2, *pnames;
 
     texture1 = DEH_String("TEXTURE1");
     texture2 = DEH_String("TEXTURE2");