shithub: choc

Download patch

ref: c72143846b0d04d9e966e96357dac30fcce03921
parent: cc5a879a848c161253bf5e9d543aaff70ac38ec2
author: Turo Lamminen <turotl@gmail.com>
date: Tue Mar 13 16:17:28 EDT 2018

Make W_ReleaseLumpName parameter const

--- a/src/w_wad.c
+++ b/src/w_wad.c
@@ -464,7 +464,7 @@
     }
 }
 
-void W_ReleaseLumpName(char *name)
+void W_ReleaseLumpName(const char *name)
 {
     W_ReleaseLumpNum(W_GetNumForName(name));
 }
--- a/src/w_wad.h
+++ b/src/w_wad.h
@@ -70,6 +70,6 @@
 extern unsigned int W_LumpNameHash(const char *s);
 
 void W_ReleaseLumpNum(lumpindex_t lump);
-void W_ReleaseLumpName(char *name);
+void W_ReleaseLumpName(const char *name);
 
 #endif