diff options
Diffstat (limited to 'fontconfig/src/fclist.c')
-rw-r--r-- | fontconfig/src/fclist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fontconfig/src/fclist.c b/fontconfig/src/fclist.c index d7e8fc091..217bbfbaf 100644 --- a/fontconfig/src/fclist.c +++ b/fontconfig/src/fclist.c @@ -80,7 +80,7 @@ FcObjectSetAdd (FcObjectSet *os, const char *object) } if (c < 0) mid++; - memmove (os->objects + mid + 1, os->objects + mid, + memmove ((void*)(os->objects + mid + 1), os->objects + mid, (os->nobject - mid) * sizeof (const char *)); os->objects[mid] = object; os->nobject++; |