summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannes <johannes.herman@gmail.com>2025-05-03 14:07:31 +0200
committerjohannes <johannes.herman@gmail.com>2025-05-03 14:07:31 +0200
commit1ed62f1b59c65a00b5db42ba1c6396f59cf96a3b (patch)
treed46f6540b2ef295f61a087b52f77d727d8e8a71e
parentaa7da601a085686e499a3c14666fe0c6ea0ff167 (diff)
fixed warning
-rw-r--r--src/demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demo.c b/src/demo.c
index c13c933..4fecb7f 100644
--- a/src/demo.c
+++ b/src/demo.c
@@ -14,7 +14,7 @@
#define CHUNK_NORMAL_TYPE_MASK 0x60 // 0b01100000
#define CHUNK_NORMAL_SIZE_MASK 0x1f // 0b00011111
-const char headermagic[7] = "TWDEMO\0";
+const char headermagic[7] = "TWDEMO";
const unsigned char mapmagic[] = {0x6b, 0xe6, 0xda, 0x4a, 0xce, 0xbd, 0x38, 0x0c,
0x9b, 0x5b, 0x12, 0x89, 0xc8, 0x42, 0xd7, 0x80};