shithub: choc

Download patch

ref: f3cf920e4a768bc205c520ecd6d36466402ea5d2
parent: c5dabb5b5b38fd9fe16c9891d35a119d385cad2e
author: Turo Lamminen <[email protected]>
date: Sat Jul 28 11:28:07 EDT 2018

doom: Make DemoVersionDescription return value const

--- a/src/doom/g_game.c
+++ b/src/doom/g_game.c
@@ -2123,7 +2123,7 @@
 
 // Generate a string describing a demo version
 
-static char *DemoVersionDescription(int version)
+static const char *DemoVersionDescription(int version)
 {
     static char resultbuf[16];