1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Fix harmless compiler warning about signed/unsigned comparison.

FossilOrigin-Name: 75cc3c89ee2dcfefa9421ce60bee77e85d2895918e8c5cfd05c434f8932a99b5
This commit is contained in:
drh
2023-07-21 15:07:56 +00:00
parent 7a2280fe65
commit eee8687a9f
3 changed files with 8 additions and 8 deletions

View File

@@ -517,7 +517,7 @@ void sqlite3_result_text64(
if( xDel==sqlite3_free && enc==SQLITE_UTF8 ){
Mem *pOut = pCtx->pOut;
if( pOut->z==z
&& sqlite3_msize(pOut->z)>=pOut->n+1
&& sqlite3_msize(pOut->z) >= (sqlite3_uint64)(pOut->n+1)
&& pOut->z[n]==0
){
pOut->flags |= MEM_Term;