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