diff -r 1b3014e53eee -r 6b51a32e48ed hedgewars/uChat.pas
--- a/hedgewars/uChat.pas	Fri Jun 07 12:51:09 2013 +0400
+++ b/hedgewars/uChat.pas	Fri Jun 07 15:23:04 2013 +0400
@@ -48,8 +48,8 @@
     LocalStrs: array[0 .. MaxStrIndex] of shortstring;
     missedCount: LongWord;
     lastStr: LongWord;
-    localLastStr: LongWord;
-    history: LongWord;
+    localLastStr: LongInt;
+    history: LongInt;
     visibleCount: LongWord;
     InputStr: TChatLine;
     InputStrL: array[0..260] of char; // for full str + 4-byte utf-8 char