danieleteti / delphiredisclient

Redis client for Delphi
Apache License 2.0
310 stars 134 forks source link

When compiling 32 bits,Incr results may not be correct #18

Closed pony5551 closed 4 years ago

pony5551 commented 4 years ago
lKey := 'userdb1';
lRedis.&SET(lKey, 10000010004.ToString);

lv := lRedis.INCR(lKey);
WriteLn('lv = ', lv); //lv result is not 10000010005
pony5551 commented 4 years ago

function INCR(const aKey: string): NativeInt;

When compiling 32 bits,

Nativeint is integer