summaryrefslogtreecommitdiffstats
path: root/lib/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/list.c')
-rw-r--r--lib/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/list.c b/lib/list.c
index 6548cacbc..88af47c40 100644
--- a/lib/list.c
+++ b/lib/list.c
@@ -776,7 +776,7 @@ list_alloc_aux (int size, void *pfreelist)
void **plast;
assert(sizeof(char) == 1);
- assert(size >= sizeof(void *));
+ assert(size >= (int)sizeof(void *));
assert(pfreelist != NULL);
assert(LIST_ALLOC > 0);
list_mutex_lock(&list_free_lock);