From 7a3fd2e9bfab54dca6b23de724617fef060269a8 Mon Sep 17 00:00:00 2001 From: Spp Date: Tue, 21 Sep 2010 10:11:25 +0200 Subject: Core/: Fix warnings --HG-- branch : trunk --- src/server/game/Chat/Chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/game/Chat/Chat.cpp') diff --git a/src/server/game/Chat/Chat.cpp b/src/server/game/Chat/Chat.cpp index 63c20aa8a06..fd855fc82e1 100644 --- a/src/server/game/Chat/Chat.cpp +++ b/src/server/game/Chat/Chat.cpp @@ -1689,7 +1689,7 @@ valid examples: bool foundName = false; for (uint8 dbIndex = LOCALE_koKR; dbIndex < MAX_LOCALE; ++dbIndex) { - if (dbIndex == -1 || il == NULL || uint8(dbIndex) >= il->Name.size()) + if (il == NULL || dbIndex >= il->Name.size()) // using strange database/client combinations can lead to this case expectedName = linkedItem->Name1; else -- cgit v1.2.3