shithub: choc

Download patch

ref: 52313be61440a43fb65ef1a79030a420eb664bea
parent: 4746b8f40c32b34bb4e0643945e4a5be7adc67de
author: Turo Lamminen <[email protected]>
date: Sat Mar 31 11:29:03 EDT 2018

Fix const correctness issue in V_ScreenShot

--- a/src/v_video.c
+++ b/src/v_video.c
@@ -835,7 +835,7 @@
 {
     int i;
     char lbmname[16]; // haleyjd 20110213: BUG FIX - 12 is too small!
-    char *ext;
+    const char *ext;
     
     // find a file name to save it to