Hi,

I compile SQLite 3.3.4 on Linux ia64 box and noticed the following
warnings during the compilation:

./src/table.c: In function `sqlite3_get_table':
./src/table.c:149: warning: cast to pointer from integer of different size
./src/table.c: In function `sqlite3_free_table':
./src/table.c:194: warning: cast from pointer to integer of different size

Seems to be harmless, but anyway - the following will fix it away:

149c149
<     res.azResult[0] = (char*)res.nData;
---
>     res.azResult[0] = (char*)(size_t)res.nData;
191c191
<     int i, n;
---
>     size_t i, n;
194c194
<     n = (int)azResult[0];
---
>     n = (size_t)azResult[0];

--
Alexei Alexandrov

Reply via email to