shithub: choc

Download patch

ref: 049cd6020081fcb6867ead1bc570b362f329ef6e
parent: 4d79cf3d6137cef60f666b5cd5be506d15357645
author: Turo Lamminen <turotl@gmail.com>
date: Tue May 15 15:34:04 EDT 2018

strife: Make saveg_writep parameter const

--- a/src/strife/p_saveg.c
+++ b/src/strife/p_saveg.c
@@ -189,7 +189,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);
 }