mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 19:49:12 +02:00
* yet another longint replaced with objpasint in fpc_shortstr_compare_equal
git-svn-id: trunk@32098 -
This commit is contained in:
parent
b561b3c2ba
commit
db7b743139
@ -1035,7 +1035,7 @@ function fpc_shortstr_compare_equal(const left,right:shortstring): longint; [pub
|
|||||||
begin
|
begin
|
||||||
Result := ObjpasInt(left[0]) - ObjpasInt(right[0]);
|
Result := ObjpasInt(left[0]) - ObjpasInt(right[0]);
|
||||||
if Result = 0 then
|
if Result = 0 then
|
||||||
Result := CompareByte(left[1],right[1], longint(left[0]));
|
Result := CompareByte(left[1],right[1], ObjpasInt(left[0]));
|
||||||
end;
|
end;
|
||||||
{$endif ndef FPC_SYSTEM_HAS_FPC_SHORTSTR_COMPARE_EQUAL}
|
{$endif ndef FPC_SYSTEM_HAS_FPC_SHORTSTR_COMPARE_EQUAL}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user