From: drh <> Date: Mon, 9 Sep 2024 15:12:21 +0000 (+0000) Subject: Fix harmless compiler warnings in FTS5. X-Git-Tag: version-3.47.0~128 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a8cf79e32234368ef936b3a1a7f890b70712f936;p=thirdparty%2Fsqlite.git Fix harmless compiler warnings in FTS5. FossilOrigin-Name: aa75e701de61fe63ec15c35d70e53e950ff73b0dcb0d871dd8721412f3af297a --- diff --git a/ext/fts5/fts5_main.c b/ext/fts5/fts5_main.c index cb68c1444f..0cc6fd30a9 100644 --- a/ext/fts5/fts5_main.c +++ b/ext/fts5/fts5_main.c @@ -1284,7 +1284,7 @@ void sqlite3Fts5ClearLocale(Fts5Config *pConfig){ int sqlite3Fts5IsLocaleValue(Fts5Config *pConfig, sqlite3_value *pVal){ int ret = 0; if( sqlite3_value_type(pVal)==SQLITE_BLOB ){ - if( sqlite3_value_bytes(pVal)>FTS5_LOCALE_HDR_SIZE + if( sqlite3_value_bytes(pVal)>(int)FTS5_LOCALE_HDR_SIZE && 0==memcmp(sqlite3_value_blob(pVal), FTS5_LOCALE_HDR(pConfig), 4) ){ ret = 1; @@ -3011,7 +3011,7 @@ static void fts5ExtractValueFromColumn( int ii; if( pConfig->eContent==FTS5_CONTENT_EXTERNAL ){ - if( nBlob