foxygit / doom Log in
commit a92aafbe90b7f2e352e1148ee208ac50c72e63d5
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue May 15 18:45:36 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue May 15 18:45:36 2018 +0300

    heretic: Fix const correctness issues in R_InitTextures
---
 src/heretic/r_data.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/heretic/r_data.c b/src/heretic/r_data.c
index 0f31817c..a9a4e29e 100644
--- a/src/heretic/r_data.c
+++ b/src/heretic/r_data.c
@@ -309,7 +309,7 @@ void R_InitTextures(void)
     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");