mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-17 04:21:00 +01:00
Qt6: Proper cast of result for -Sy.
(cherry picked from commit 67868afe81)
This commit is contained in:
parent
32f41648f4
commit
b0867a7674
@ -15716,7 +15716,7 @@ end;
|
|||||||
// QReal Array Access from c-code
|
// QReal Array Access from c-code
|
||||||
function GetQRealArrayAddr(var PArr : TQRealArray): PPtrInt; cdecl; export;
|
function GetQRealArrayAddr(var PArr : TQRealArray): PPtrInt; cdecl; export;
|
||||||
begin
|
begin
|
||||||
Result := @PArr[0];
|
Result := PPtrInt(@PArr[0]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function GetQRealArrayLength(var PArr: TQRealArray): Integer; cdecl; export;
|
function GetQRealArrayLength(var PArr: TQRealArray): Integer; cdecl; export;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user