aboutsummaryrefslogtreecommitdiff
path: root/src/json.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/json.c')
-rw-r--r--src/json.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/json.c b/src/json.c
index 967a3af00..e29940c72 100644
--- a/src/json.c
+++ b/src/json.c
@@ -3856,6 +3856,7 @@ static void jsonReturnFromBlob(
}else if( rc==3 && bNeg ){
sqlite3_result_int64(pCtx, SMALLEST_INT64);
}else{
+ if( bNeg ){ n--; sz++; }
goto to_double;
}
break;