提交 f3aad1a6 authored 作者: Shane Bryldt's avatar Shane Bryldt

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

上级 bea654ee
......@@ -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;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论