diff options
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.c b/src/util.c index 6e64242e8..0bc1eeacf 100644 --- a/src/util.c +++ b/src/util.c @@ -655,6 +655,7 @@ int sqlite3GetInt32(const char *zNum, int *pValue){ } } #endif + while( zNum[0]=='0' ) zNum++; for(i=0; i<11 && (c = zNum[i] - '0')>=0 && c<=9; i++){ v = v*10 + c; } |