shithub: choc

Download patch

ref: 79b4de751c54e9a61182a9ab7ffa5d769beab3e9
parent: d0c0539483924fcc4820f7f5c346fca0ff342821
author: Turo Lamminen <[email protected]>
date: Tue Dec 11 14:18:54 EST 2018

net: Make net_querydata_t version member const

--- a/src/net_defs.h
+++ b/src/net_defs.h
@@ -242,7 +242,7 @@
 
 typedef struct
 {
-    char *version;
+    const char *version;
     int server_state;
     int num_players;
     int max_players;