mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Fix harmless compiler warning seen with MSVC.
FossilOrigin-Name: 39d920d1ef0cce40195b21e148f78f544710348fa180c0e76f743a73e5236d45
This commit is contained in:
@@ -843,7 +843,7 @@ static void rankfunc(sqlite3_context *pCtx, int nVal, sqlite3_value **apVal){
|
||||
** size of the matchinfo blob is as expected. Return an error if it is not.
|
||||
*/
|
||||
if( nVal<1 ) goto wrong_number_args;
|
||||
aMatchinfo = (unsigned int *)sqlite3_value_blob(apVal[0]);
|
||||
aMatchinfo = (int*)sqlite3_value_blob(apVal[0]);
|
||||
nMatchinfo = sqlite3_value_bytes(apVal[0]) / sizeof(int);
|
||||
if( nMatchinfo>=2 ){
|
||||
nPhrase = aMatchinfo[0];
|
||||
|
||||
Reference in New Issue
Block a user