Fixed: Compilation under Mac OS X

hg/feature/gsoc2012-fabien
kervala 13 years ago
parent acc6ce1b59
commit 5c458d4c65

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

Loading…
Cancel
Save