1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Merge several compiler compatibility fixes to trunk.

FossilOrigin-Name: d3d491a5461e21d84c6425977b80deedc7fa8a3a
This commit is contained in:
mistachkin
2012-06-21 14:05:15 +00:00
5 changed files with 18 additions and 16 deletions

View File

@ -146,7 +146,7 @@ int sqlite3FtsUnicodeIsalnum(int c){
}
assert( aEntry[0]<key );
assert( key>=aEntry[iRes] );
return (c >= ((aEntry[iRes]>>10) + (aEntry[iRes]&0x3FF)));
return (((unsigned int)c) >= ((aEntry[iRes]>>10) + (aEntry[iRes]&0x3FF)));
}
return 1;
}