From f3aad1a661b162fa60ed0e99ce7900bab224f3cc Mon Sep 17 00:00:00 2001 From: Shane Bryldt Date: Fri, 14 Apr 2017 11:05:36 -0600 Subject: [PATCH] FS-10167: Another small bug fix to get compiling on windows again --- libs/libks/src/simclist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/libks/src/simclist.c b/libs/libks/src/simclist.c index 891640924d..b0449a9fc2 100755 --- a/libs/libks/src/simclist.c +++ b/libs/libks/src/simclist.c @@ -718,12 +718,12 @@ KS_DECLARE(int) ks_list_delete_range(ks_list_t *restrict l, unsigned int posstar KS_DECLARE(int) ks_list_clear(ks_list_t *restrict l) { struct ks_list_entry_s *s; - unsigned int numels; + int numels; ks_rwl_write_lock(l->lock); /* will be returned */ - numels = l->numels; + numels = (int)l->numels; if (l->iter_active) { numels = -1;