diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2017-09-15 15:10:36 +0000 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2017-09-16 09:45:38 +0000 |
commit | 93087d5fe74b0078e0b6db4233710648c79043cc (patch) | |
tree | a5c2aa20cb1135fbc086cb89a26e10981cf91f7b /storage/innobase/include | |
parent | 8c4df595b8bdd186ee68aee8a7953958fa503d3c (diff) | |
download | mariadb-git-93087d5fe74b0078e0b6db4233710648c79043cc.tar.gz |
Fix some warnings
Diffstat (limited to 'storage/innobase/include')
-rw-r--r-- | storage/innobase/include/ut0timer.ic | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/include/ut0timer.ic b/storage/innobase/include/ut0timer.ic index 027e89c6279..46dcd0cb718 100644 --- a/storage/innobase/include/ut0timer.ic +++ b/storage/innobase/include/ut0timer.ic @@ -106,7 +106,7 @@ ut_microseconds_to_timer( /*=====================*/ ulonglong when) /*!< in: time where to calculate */ { - double ret = when; + double ret = (double)when; ret *= (double)(ut_timer.frequency); ret /= 1000000.0; return (ulonglong)ret; |