FS-10167: Another small bug fix to get compiling on windows again

This commit is contained in:
Shane Bryldt 2017-04-14 11:05:36 -06:00
parent bea654eea2
commit f3aad1a661
1 changed files with 2 additions and 2 deletions

View File

@ -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;