diff options
author | mistachkin <mistachkin@noemail.net> | 2016-04-12 20:05:06 +0000 |
---|---|---|
committer | mistachkin <mistachkin@noemail.net> | 2016-04-12 20:05:06 +0000 |
commit | 77fac879d25b6500d3bd028a8e855fc9dc789634 (patch) | |
tree | 8afdf9e232e8858a52c7f8a6e2426b0f3f80117e /tool/logest.c | |
parent | 02267cc2136bc3cde2ae9cc3a02f91e2dc497793 (diff) | |
download | sqlite-77fac879d25b6500d3bd028a8e855fc9dc789634.tar.gz sqlite-77fac879d25b6500d3bd028a8e855fc9dc789634.zip |
More harmless compiler warning fixes.
FossilOrigin-Name: ab69527c1608da0b668f3b49e967661dd99cc3d4
Diffstat (limited to 'tool/logest.c')
-rw-r--r-- | tool/logest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/logest.c b/tool/logest.c index 347fa68a4..e936e02cb 100644 --- a/tool/logest.c +++ b/tool/logest.c @@ -147,7 +147,7 @@ int main(int argc, char **argv){ }else if( strcmp(z,"inv")==0 ){ if( n>0 ) a[n-1] = -a[n-1]; }else if( z[0]=='^' ){ - a[n++] = atoi(z+1); + a[n++] = (LogEst)atoi(z+1); }else if( isInteger(z) ){ a[n++] = logEstFromInteger(atoi(z)); }else if( isFloat(z) && z[0]!='-' ){ |