From 63997fccf76a99b519933734b0028b53f4c9cde4 Mon Sep 17 00:00:00 2001 From: Joe Mistachkin Date: Sat, 7 Oct 2017 23:58:55 +0000 Subject: [PATCH] Fix harmless compiler warning seen with MSVC. --- src/test_func.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test_func.c b/src/test_func.c index 59fe677c33..2a7103f88e 100644 --- a/src/test_func.c +++ b/src/test_func.c @@ -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]; -- 2.11.4.GIT