aboutsummaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2012-08-15 16:21:55 +0000
committerdrh <drh@noemail.net>2012-08-15 16:21:55 +0000
commit16de7f4d3297a8a197d1e588b64e3bdde9593a2a (patch)
tree7a38b09267984dec9cee3a2c29a8277ab2c5e3f0 /src/util.c
parent618fea4830063e6a24fb4c71d7cd5c680ef7d0ab (diff)
parente74f4651da9d37fef98d83b293ed220d2ca6a7e4 (diff)
downloadsqlite-16de7f4d3297a8a197d1e588b64e3bdde9593a2a.tar.gz
sqlite-16de7f4d3297a8a197d1e588b64e3bdde9593a2a.zip
Merge all the latest trunk changes into the sessions branch.
FossilOrigin-Name: fc07a4795e027108674d1d41eb4350df629ddc8b
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index dd3b08ae4..5cf8ebacb 100644
--- a/src/util.c
+++ b/src/util.c
@@ -371,7 +371,7 @@ do_atof_calc:
/* if exponent, scale significand as appropriate
** and store in result. */
if( e ){
- double scale = 1.0;
+ LONGDOUBLE_TYPE scale = 1.0;
/* attempt to handle extremely small/large numbers better */
if( e>307 && e<342 ){
while( e%308 ) { scale *= 1.0e+1; e -= 1; }