Skip to content

Commit f082c75

Browse files
committed
fix signed/unsigned mismatch on Windows
1 parent d49f8e9 commit f082c75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/innobase/srv/srv0srv.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2589,8 +2589,8 @@ DECLARE_THREAD(srv_worker_thread)(
25892589
slot = srv_reserve_slot(SRV_WORKER);
25902590

25912591
ut_a(srv_n_purge_threads > 1);
2592-
ut_a(my_atomic_loadlint(&srv_sys.n_threads_active[SRV_WORKER])
2593-
< static_cast<lint>(srv_n_purge_threads));
2592+
ut_a(ulong(my_atomic_loadlint(&srv_sys.n_threads_active[SRV_WORKER]))
2593+
< srv_n_purge_threads);
25942594

25952595
/* We need to ensure that the worker threads exit after the
25962596
purge coordinator thread. Otherwise the purge coordinator can

0 commit comments

Comments
 (0)