shithub: choc

Download patch

ref: 803e8e43d92ae60b7255905429cec7b63996378c
parent: 893f94d018845b2a22139acb017618af5594f34b
author: Turo Lamminen <[email protected]>
date: Tue Dec 11 14:31:42 EST 2018

net: Make GameDescription return value const

--- a/src/net_query.c
+++ b/src/net_query.c
@@ -659,7 +659,7 @@
     }
 }
 
-static char *GameDescription(GameMode_t mode, GameMission_t mission)
+static const char *GameDescription(GameMode_t mode, GameMission_t mission)
 {
     switch (mission)
     {