diff -r 0f6e3219c108 -r 5c82ee165ed5 hedgewars/uMisc.pas --- a/hedgewars/uMisc.pas Mon Oct 11 16:56:00 2010 -0400 +++ b/hedgewars/uMisc.pas Tue Oct 12 05:06:30 2010 +0200 @@ -189,7 +189,7 @@ function toPowerOf2(i: Longword): Longword; inline; function DecodeBase64(s: shortstring): shortstring; function doSurfaceConversion(tmpsurf: PSDL_Surface): PSDL_Surface; -function endian(independent: LongWord): LongWord; +function endian(independent: LongWord): LongWord; inline; {$IFDEF DEBUGFILE} procedure AddFileLog(s: shortstring); (* function RectToStr(Rect: TSDL_Rect): shortstring; *) @@ -683,7 +683,7 @@ exit(tmpsurf); end; -function endian(independent: LongWord): LongWord; +function endian(independent: LongWord): LongWord; inline; begin {$IFDEF ENDIAN_LITTLE} endian:= independent;