diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-04-29 17:39:48 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-04-29 17:53:21 +0300 |
commit | b2c47400349fcd2a8d5d43bb711f1bfbb48c8485 (patch) | |
tree | d7dbb4c08c05a1e034eb8019545b9d1a7a8e6d7d /include/my_time.h | |
parent | baa5a43d8cb2f747eeb70d394a362fb5f3fdd194 (diff) | |
download | mariadb-git-b2c47400349fcd2a8d5d43bb711f1bfbb48c8485.tar.gz |
Fix some -Wsign-conversion
InnoDB was using int64_t instead of ha_rows (unsigned 64-bit).
Diffstat (limited to 'include/my_time.h')
-rw-r--r-- | include/my_time.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/my_time.h b/include/my_time.h index f7d910fa07d..cec168c6fd6 100644 --- a/include/my_time.h +++ b/include/my_time.h @@ -104,7 +104,8 @@ typedef struct st_mysql_time_status static inline void my_time_status_init(MYSQL_TIME_STATUS *status) { - status->warnings= status->precision= 0; + status->warnings= 0; + status->precision= 0; } my_bool check_date(const MYSQL_TIME *ltime, my_bool not_zero_date, |