1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-09 14:21:03 +03:00

Fix a signed integer overflow problem in the testcase() macro.

FossilOrigin-Name: f18f5f5893a0d37ecedcfcfdddbe06cdbe0b4243
This commit is contained in:
drh
2011-04-11 15:35:24 +00:00
parent 6950c616ff
commit 68bf06716d
3 changed files with 10 additions and 10 deletions

View File

@@ -26,8 +26,8 @@
*/
#ifdef SQLITE_COVERAGE_TEST
void sqlite3Coverage(int x){
static int dummy = 0;
dummy += x;
static unsigned dummy = 0;
dummy += (unsigned)x;
}
#endif