From f4edee9eabbbfd8e9f3d1f7c8ef623cfd6a0fde6 Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Fri, 12 Jan 2024 22:49:38 +0800 Subject: [PATCH] [server] Fix build error in CLabelPool ctor --- server/labelpool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/labelpool.cpp b/server/labelpool.cpp index 34a6ecf..9bdc2a5 100644 --- a/server/labelpool.cpp +++ b/server/labelpool.cpp @@ -5,7 +5,7 @@ CLabelPool::CLabelPool() { for(WORD wLabel = 0; wLabel < MAX_LABELS; wLabel++) { - memset(field_1000[wLabel], 0, sizeof(struc_24)); + memset(&field_1000[wLabel], 0, sizeof(struc_24)); field_0[wLabel] = 0; } }