From 66905f6dcbd2103ed1cd9fa459efe2643e7ef560 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Fri, 17 Mar 2017 08:56:57 +0000 Subject: Fix several compile warnings on Windows --- storage/sequence/sequence.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'storage/sequence') 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); -- cgit v1.2.1