Open zedxxx opened 3 hours ago
Same for realloc
, memmove
, memcpy
, memset
https://github.com/synopse/mORMot2/blob/master/src/db/mormot.db.raw.sqlite3.static.pas#L415
Did you encounter any problem due to this issue? From the asm point of view, it makes no difference with values up to 2GB in size.
I will review the code about this.
The
size
parameter of theinteger
type must be replaced with thesize_t
(orNativeUInt
) type in functions:strncmp
,memcmp
https://github.com/synopse/mORMot2/blob/master/src/lib/mormot.lib.static.pas#L82
https://github.com/synopse/mORMot2/blob/master/src/db/mormot.db.raw.sqlite3.static.pas#L475