fix stupid array bug: missing sizeof()

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
This commit is contained in:
Pierre Habouzit 2008-06-23 17:26:27 +02:00
parent df89ea2887
commit 3513e43f0f
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@
dtor(&arr->tab[i]); \
} \
memmove(arr->tab + pos + count, arr->tab + pos + len, \
arr->len - pos - len); \
(arr->len - pos - len) * sizeof(*items)); \
arr->len += count - len; \
} \
memcpy(arr->tab + pos, items, count * sizeof(*items)); \