Dear all,
 
when compiling the latest 3.7.16.1 version of SQLite, the VS compiler complains 
about some 64 bit portability issues, see below. May these warning be safely 
ignored when compiling 64 bit? All warnings refer to the sqlite3.c amalgamation 
file. Thanks in advance.
 
Line 6766       u.bc.r.flags = (u16)(UNPACKED_INCRKEY * (1 & (u.bc.oc - 
OP_SeekLt)));          WARNING: conversion from 'u16' to 'u8', possible loss of 
data
Line 71133     iBuf = p->iReadOff % p->nBuffer;                     WARNING: 
conversion from 'i64' to 'int', possible loss of data
Line 71209     iBuf = p->iReadOff % p->nBuffer;                     WARNING: 
conversion from 'i64' to 'int', possible loss of data
Line 71286     iBuf = iStart % nBuf;                                       
WARNING: conversion from 'i64' to 'int', possible loss of data
Line 71574     p->iBufEnd = p->iBufStart = (iStart % nBuf);     WARNING: 
conversion from 'i64' to 'int', possible loss of data
 
I think that in general it might be a good idea to update the code to not 
produce any 64 bit portability warnings, so that we know for sure, that 
compiling 64 bit does not introduce any 64 bit side effects or possible bugs. 
Thanks.
 
Continue your great SQLite work.
 
Alex
 
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to