Fixed: Compilation under Mac OS X

This commit is contained in:
kervala 2012-02-29 23:12:07 +01:00
parent 08a2f53b22
commit fbd7a3e52d

View file

@ -665,7 +665,7 @@ void CInterfaceChatDisplayer::displayChat(TDataSetIndex compressedSenderIndex, c
// select DB // select DB
sint32 dbIndex = ChatMngr.getDynamicChannelDbIndexFromId(dynChatId); sint32 dbIndex = ChatMngr.getDynamicChannelDbIndexFromId(dynChatId);
clamp(dbIndex,0 , CChatGroup::MaxDynChanPerPlayer); clamp(dbIndex, (sint32)0 , (sint32)CChatGroup::MaxDynChanPerPlayer);
string entry="UI:SAVE:CHAT:COLORS:"; string entry="UI:SAVE:CHAT:COLORS:";
switch(mode) switch(mode)
{ {