Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Unified Diff: third_party/sqlite/src/ext/fts3/unicode/mkunicode.tcl

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/ext/fts3/tool/fts3view.c ('k') | third_party/sqlite/src/ext/fts5/fts5.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/ext/fts3/unicode/mkunicode.tcl
diff --git a/third_party/sqlite/src/ext/fts3/unicode/mkunicode.tcl b/third_party/sqlite/src/ext/fts3/unicode/mkunicode.tcl
index a2e9b1da29316fcd28b753627d6250bb761d50e7..aafb4e9f9bfa94ec0996a0e21d97923868c8ef35 100644
--- a/third_party/sqlite/src/ext/fts3/unicode/mkunicode.tcl
+++ b/third_party/sqlite/src/ext/fts3/unicode/mkunicode.tcl
@@ -226,9 +226,9 @@ proc print_isalnum {zFunc lRange} {
an_print_range_array $lRange
an_print_ascii_bitmap $lRange
puts {
- if( c<128 ){
+ if( (unsigned int)c<128 ){
return ( (aAscii[c >> 5] & (1 << (c & 0x001F)))==0 );
- }else if( c<(1<<22) ){
+ }else if( (unsigned int)c<(1<<22) ){
unsigned int key = (((unsigned int)c)<<10) | 0x000003FF;
int iRes = 0;
int iHi = sizeof(aEntry)/sizeof(aEntry[0]) - 1;
« no previous file with comments | « third_party/sqlite/src/ext/fts3/tool/fts3view.c ('k') | third_party/sqlite/src/ext/fts5/fts5.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698