shithub: choc

Download patch

ref: 8ea97f6bd6610b3ae6ac1265ff82989f9a6df2c3
parent: 8d3e982584c8ea904fe7c12044c147a19494310d
author: Turo Lamminen <[email protected]>
date: Tue Apr 3 14:55:03 EDT 2018

p_save.g: Make saveg_writep parameter const

--- a/src/doom/p_saveg.c
+++ b/src/doom/p_saveg.c
@@ -184,7 +184,7 @@
     return (void *) (intptr_t) saveg_read32();
 }
 
-static void saveg_writep(void *p)
+static void saveg_writep(const void *p)
 {
     saveg_write32((intptr_t) p);
 }