fix signed/unsigned mismatch on Windows

This commit is contained in:
Vladislav Vaintroub 2018-02-15 01:26:09 +00:00
parent d49f8e9f05
commit f082c7557e

View file

@ -2589,8 +2589,8 @@ DECLARE_THREAD(srv_worker_thread)(
slot = srv_reserve_slot(SRV_WORKER); slot = srv_reserve_slot(SRV_WORKER);
ut_a(srv_n_purge_threads > 1); ut_a(srv_n_purge_threads > 1);
ut_a(my_atomic_loadlint(&srv_sys.n_threads_active[SRV_WORKER]) ut_a(ulong(my_atomic_loadlint(&srv_sys.n_threads_active[SRV_WORKER]))
< static_cast<lint>(srv_n_purge_threads)); < srv_n_purge_threads);
/* We need to ensure that the worker threads exit after the /* We need to ensure that the worker threads exit after the
purge coordinator thread. Otherwise the purge coordinator can purge coordinator thread. Otherwise the purge coordinator can