I just wanted to explain the reason of the warning. There's valid reason to emit these warnings as the compiler can not infer the usage from static type analysis. I did not specifically call this use wrong.
Mike Am 25.10.2008 um 19:44 schrieb D. Richard Hipp: > > On Oct 25, 2008, at 1:28 PM, Michael Ruck wrote: > >> The problem with these types of C tricks is that they only work >> right if the >> platform they're used on has the property of sizeof(void*) == >> sizeof(int). >> Unfortunately this is not always the case and not mandated by the C >> standard. That's the reason for these warnings. Its also a reason >> not to >> turn off the warnings. >> > > Dan is using the void* to hold a 0 or a 1. So his code will work > correctly as long as sizeof(void*)>=1. It would be a strange machine > indeed that failed to meet that requirement. > > D. Richard Hipp > [EMAIL PROTECTED] > > > > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users