diff --git a/rtl/objpas/sysutils/sysstr.inc b/rtl/objpas/sysutils/sysstr.inc index 9894a88b37..83cbf3083e 100644 --- a/rtl/objpas/sysutils/sysstr.inc +++ b/rtl/objpas/sysutils/sysstr.inc @@ -159,37 +159,14 @@ end; P1 > P2 > 0 P1 = P2 = 0 } -function CompareMemRange(P1, P2: Pointer; Length: cardinal): integer; - -var - i: cardinal; - +function CompareMemRange(P1, P2: Pointer; Length: PtrUInt): integer;{$ifdef SYSUTILSINLINE}inline;{$endif} begin - i := 0; - result := 0; - while (result=0) and (I(P2) then - While Result and (i