From da4e11fc8bc116d84187c19baa96a9ad77b64369 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Tue, 25 Jun 2024 15:04:22 +0200 Subject: [PATCH] memset 2nd argument is int --- LEGO1/lego/legoomni/src/worlds/historybook.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LEGO1/lego/legoomni/src/worlds/historybook.cpp b/LEGO1/lego/legoomni/src/worlds/historybook.cpp index bf01d00a..f2f8068c 100644 --- a/LEGO1/lego/legoomni/src/worlds/historybook.cpp +++ b/LEGO1/lego/legoomni/src/worlds/historybook.cpp @@ -15,9 +15,9 @@ DECOMP_SIZE_ASSERT(HistoryBook, 0x3e4) // FUNCTION: LEGO1 0x100822f0 HistoryBook::HistoryBook() { - memset(m_alphabet, NULL, sizeof(m_alphabet)); - memset(m_names, NULL, sizeof(m_names)); - memset(m_scores, NULL, sizeof(m_scores)); + memset(m_alphabet, 0, sizeof(m_alphabet)); + memset(m_names, 0, sizeof(m_names)); + memset(m_scores, 0, sizeof(m_scores)); NotificationManager()->Register(this); }