foxygit / doom Log in
commit 5f60b8327eb3709514c7d46f52b026467b5cc180
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat May 5 14:40:44 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Sat May 5 14:43:14 2018 +0300

    heretic: Make SV_WritePtr parameter const
---
 src/heretic/p_saveg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/heretic/p_saveg.c b/src/heretic/p_saveg.c
index 75b9c573..e07c2047 100644
--- a/src/heretic/p_saveg.c
+++ b/src/heretic/p_saveg.c
@@ -121,7 +121,7 @@ void SV_WriteLong(unsigned int val)
     SV_Write(&val, sizeof(int));
 }

-void SV_WritePtr(void *ptr)
+void SV_WritePtr(const void *ptr)
 {
     long val = (long) ptr;