#1 2021-03-18 13:50:41

sakura
Member
From: Germany
Registered: 2018-02-21
Posts: 193

Combining signed type and unsigned 64-bit type

Hi Arnaud,

in D10.4.2/Win32 I get following warnings:

[dcc32 Warning] mormot.core.zip.pas(1059): W1073 Combining signed type and unsigned 64-bit type - treated as an unsigned type
[dcc32 Warning] mormot.core.zip.pas(1331): W1073 Combining signed type and unsigned 64-bit type - treated as an unsigned type

I guess a simple cast like

h64.offset := QWord(fDest.Position) - fAppendOffset;
...
lh64.headerOffset := QWord(fDest.Position) - fAppendOffset;

would fix that.

Regards.
Daniel

Offline

Board footer

Powered by FluxBB