foxygit / doom Log in
commit 3e4c80912ec88eb597b61ebb3d8d2ef4496fe6a1
Author:     Simon Howard <fraggle@soulsphere.org>
AuthorDate: Sun Aug 16 18:05:37 2015 -0400
Commit:     Simon Howard <fraggle@soulsphere.org>
CommitDate: Sun Aug 16 18:06:10 2015 -0400

    doom: Fix compiler warnings due to type conflict.

    Clang doesn't like casting a byte array to a char pointer implicitly.
---
 src/doom/d_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/doom/d_main.c b/src/doom/d_main.c
index 50be07c2..14e58d75 100644
--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -954,7 +954,7 @@ static struct
 static void InitGameVersion(void)
 {
     byte *demolump;
-    byte demolumpname[6];
+    char demolumpname[6];
     int demoversion;
     int p;
     int i;