diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2018-01-06 22:11:42 +0000 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2018-01-06 22:11:42 +0000 |
commit | 7a01e64c3a94c8bcf7a4fd50c070f8801f094649 (patch) | |
tree | d502ce99e1ef64970360098ce9957f418fbe4b87 /strings | |
parent | fa7d85bb87e796f1cf77fdf79f2b2d6ece423baf (diff) | |
download | mariadb-git-7a01e64c3a94c8bcf7a4fd50c070f8801f094649.tar.gz |
Fix warnings
Diffstat (limited to 'strings')
-rw-r--r-- | strings/dtoa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/dtoa.c b/strings/dtoa.c index eccd05bcf92..7b560227026 100644 --- a/strings/dtoa.c +++ b/strings/dtoa.c @@ -1290,7 +1290,7 @@ static double ratio(Bigint *a, Bigint *b) dval(&db)= b2d(b, &kb); k= ka - kb + 32*(a->wds - b->wds); if (k > 0) - word0(&da)+= k*Exp_msk1 * 1.0; + word0(&da)+= (ULong)(k*Exp_msk1 * 1.0); else { k= -k; |