Hi All
We have been using sqlite version 3.5.7 for our development in a 32
bit environment. We are moving to 64 bit and I  am trying to build
sqlite3.c.
I see that sqlite3.c ver 3.5.7 has a typedef as follows:

typedef int sqlite3_intptr_t;

This causes the compiler to complain about incompatibilities in
pointer and int sizes in 64-bit
Now am I safe in changing int to long as in

typedef long sqlite3_intptr_t;

After this change I see that my 64 bit build goes through, but I am
not sure as to what other assumptions the code makes regarding these
data types.
Any help shall be greatly appreciated.
Thanks
-Gopala
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to