From ca2210d0b87a97cfe61632a98b93f1a333be7deb Mon Sep 17 00:00:00 2001 From: oy Date: Sun, 14 Oct 2018 19:23:34 +0200 Subject: fixed some warnings --- src/engine/server/server.cpp | 4 ++-- src/game/client/components/menus.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/engine/server/server.cpp b/src/engine/server/server.cpp index 5eb42610b..be457a00b 100644 --- a/src/engine/server/server.cpp +++ b/src/engine/server/server.cpp @@ -35,7 +35,7 @@ #include #endif -static const char *StrLtrim(const char *pStr) +/*static const char *StrLtrim(const char *pStr) { while(*pStr && *pStr >= 0 && *pStr <= 32) pStr++; @@ -52,7 +52,7 @@ static void StrRtrim(char *pStr) pStr[i] = 0; i--; } -} +}*/ CSnapIDPool::CSnapIDPool() diff --git a/src/game/client/components/menus.h b/src/game/client/components/menus.h index e0a2299cb..5deb3d005 100644 --- a/src/game/client/components/menus.h +++ b/src/game/client/components/menus.h @@ -313,8 +313,8 @@ private: { bool m_ClanFriend; bool m_FakeFriend; - int m_NameHash; - int m_ClanHash; + unsigned m_NameHash; + unsigned m_ClanHash; }; enum -- cgit v1.2.3