diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2017-03-10 19:06:33 +0000 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2017-03-10 19:07:07 +0000 |
commit | f2fe5cb2825144dcd8d2383bd38bc83fa4eafdf1 (patch) | |
tree | 531533b08d1e6a9d70ee7bbb835fce837c8de8bb /sql/slave.cc | |
parent | 7c512138a19abd4d8e8761b1f0eb2bd8c9809a28 (diff) | |
download | mariadb-git-f2fe5cb2825144dcd8d2383bd38bc83fa4eafdf1.tar.gz |
Fix several compile warnings on Windows
Diffstat (limited to 'sql/slave.cc')
-rw-r--r-- | sql/slave.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index 05e967c4edb..e031a424ea6 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -3445,7 +3445,7 @@ sql_delay_event(Log_event *ev, THD *thd, rpl_group_info *rgi) // The time we will have to sleep before executing the event. unsigned long nap_time= 0; if (sql_delay_end > now) - nap_time= sql_delay_end - now; + nap_time= (ulong)(sql_delay_end - now); DBUG_PRINT("info", ("sql_delay= %lu " "ev->when= %lu " |