From bd4e9d299fc6badaab54508f8eb33d620b9f777a Mon Sep 17 00:00:00 2001 From: Asher Baker Date: Thu, 24 Jan 2013 05:04:09 +0000 Subject: [PATCH] Fix GCC warning. --- .../shared/csgo/protobuf/cstrike15_usermessage_helpers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/game/shared/csgo/protobuf/cstrike15_usermessage_helpers.cpp b/public/game/shared/csgo/protobuf/cstrike15_usermessage_helpers.cpp index ff0a63f2..d0c2e9ac 100644 --- a/public/game/shared/csgo/protobuf/cstrike15_usermessage_helpers.cpp +++ b/public/game/shared/csgo/protobuf/cstrike15_usermessage_helpers.cpp @@ -11,8 +11,8 @@ CCstrike15UsermessageHelpers g_Cstrike15UsermessageHelpers; CCstrike15UsermessageHelpers::CCstrike15UsermessageHelpers() { // Clear all so that any unused are inited. - memset( m_Prototypes, NULL, sizeof(m_Prototypes) ); - memset( m_IndexNameMap, NULL, sizeof(m_IndexNameMap) ); + memset( m_Prototypes, 0, sizeof(m_Prototypes) ); + memset( m_IndexNameMap, 0, sizeof(m_IndexNameMap) ); SETUP_MESSAGE( VGUIMenu ); SETUP_MESSAGE( Geiger );