From 8ed58cc82e7f1ee985e9d7899a0673dab9e653e7 Mon Sep 17 00:00:00 2001 From: Sheila Aman Date: Tue, 8 Jun 2021 09:26:57 -0500 Subject: [PATCH] Silence warning. --- src/randomizer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/randomizer.cc b/src/randomizer.cc index 2ddda48..b6e6446 100644 --- a/src/randomizer.cc +++ b/src/randomizer.cc @@ -405,7 +405,7 @@ QBuffer *Randomizer::writePatch(void) { char csize[3]; csize[0] = (size >> 8) & 0xFF; csize[1] = size & 0xFF; - csize[2] = NULL; + csize[2] = '\0'; patch->write(csize, 2); patch->write(abilities); patch->write("EOF");