shithub: choc

Download patch

ref: 3e4c80912ec88eb597b61ebb3d8d2ef4496fe6a1
parent: 681f750c652be5ab514dfedf60f2fd971a929cca
author: Simon Howard <fraggle@soulsphere.org>
date: Sun Aug 16 14:05:37 EDT 2015

doom: Fix compiler warnings due to type conflict.

Clang doesn't like casting a byte array to a char pointer implicitly.

--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -954,7 +954,7 @@
 static void InitGameVersion(void)
 {
     byte *demolump;
-    byte demolumpname[6];
+    char demolumpname[6];
     int demoversion;
     int p;
     int i;