hedgewars/uMisc.pas
changeset 316 57d50189ad86
parent 308 806c3b55500d
child 337 a46abb65eb0c
--- a/hedgewars/uMisc.pas	Wed Jan 10 23:24:55 2007 +0000
+++ b/hedgewars/uMisc.pas	Thu Jan 11 20:45:59 2007 +0000
@@ -90,7 +90,7 @@
 procedure OutError(Msg: String; const isFatalError: boolean=false);
 procedure TryDo(Assert: boolean; Msg: string; isFatal: boolean);
 procedure SDLTry(Assert: boolean; isFatal: boolean);
-function IntToStr(n: integer): shortstring;
+function IntToStr(n: LongInt): shortstring;
 function FloatToStr(n: Double): shortstring;
 function DxDy2Angle32(const _dY, _dX: Extended): integer;
 function DxDy2AttackAngle(const _dY, _dX: Extended): integer;
@@ -156,7 +156,7 @@
 Color:= SDL_MapRGB(PixelFormat, (Color shr 16) and $FF, (Color shr 8) and $FF, Color and $FF)
 end;
 
-function IntToStr(n: integer): shortstring;
+function IntToStr(n: LongInt): shortstring;
 begin
 str(n, Result)
 end;