On Apr 22, 2009, at 11:23 AM, sql...@fauvelle.net wrote: > Hello all, > > I'm compiling sqlite 3.6.13 with Visual 2003, and RunTime Check > activated, and it gives this error : > > Run-Time Check Failure #1 - > A cast to a smaller data type has caused a loss of data. If this was > intentional, you should mask the source of the cast with the > appropriate > bitmask. For example: > > char c = (i & 0xFF); > > Changing the code in this way will not affect the quality of the > resulting optimized code. > > Is it a known bug? Can I send more detailed informations (call stack, > source code) on this list, or on dev list?
This is probably not a bug. There are places in the SQLite code where we deliberately discard all but the lower 8 bits of an integer. But, if you like to tell us *where* in the code this occurs, I'll be happy to verify it for you. D. Richard Hipp d...@hwaci.com _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users