shithub: choc

Download patch

ref: 5f60b8327eb3709514c7d46f52b026467b5cc180
parent: 00311e89f5bc707c333c38b5f1850d2f2a35e076
author: Turo Lamminen <[email protected]>
date: Sat May 5 10:40:44 EDT 2018

heretic: Make SV_WritePtr parameter const

--- a/src/heretic/p_saveg.c
+++ b/src/heretic/p_saveg.c
@@ -121,7 +121,7 @@
     SV_Write(&val, sizeof(int));
 }
 
-void SV_WritePtr(void *ptr)
+void SV_WritePtr(const void *ptr)
 {
     long val = (long) ptr;