fixed compilation problem on 32-bit systems:
fixed compilation problem on 32-bit systems:

don't (try to) cast (32-bit) pointers to (64-bit) lng and back to (32-bit) pointers,
compilers do (correctly) complain about the latter;
use size_t instead of lng if you need to cast pointers to integers and back.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb