diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2017-03-17 08:56:57 +0000 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2017-03-17 08:56:57 +0000 |
commit | 66905f6dcbd2103ed1cd9fa459efe2643e7ef560 (patch) | |
tree | 430beccfbea2adf0c68aef5c3f0e58830380ac26 /storage/sequence | |
parent | 7668a79a88a3103781ee23eace53ca3e9bbd6644 (diff) | |
download | mariadb-git-66905f6dcbd2103ed1cd9fa459efe2643e7ef560.tar.gz |
Fix several compile warnings on Windows
Diffstat (limited to 'storage/sequence')
-rw-r--r-- | storage/sequence/sequence.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/sequence/sequence.cc b/storage/sequence/sequence.cc index 8d9465f08c5..599374c6f8c 100644 --- a/storage/sequence/sequence.cc +++ b/storage/sequence/sequence.cc @@ -95,9 +95,9 @@ public: ha_rows records_in_range(uint inx, key_range *min_key, key_range *max_key); - double scan_time() { return nvalues(); } - double read_time(uint index, uint ranges, ha_rows rows) { return rows; } - double keyread_time(uint index, uint ranges, ha_rows rows) { return rows; } + double scan_time() { return (double)nvalues(); } + double read_time(uint index, uint ranges, ha_rows rows) { return (double)rows; } + double keyread_time(uint index, uint ranges, ha_rows rows) { return (double)rows; } private: void set(uchar *buf); |