X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=aft.c;h=f690e81951b4c7911c2f726b36fee9a673badce7;hb=be5daec66f163725489f42d512659a8af5c3fd59;hp=991cb777e0a3bf9846d4d9aea389e03b7f6ed6a2;hpb=f484411f1a48386975f55d1273750ca3c926aa9a;p=paraslash.git diff --git a/aft.c b/aft.c index 991cb777..f690e819 100644 --- a/aft.c +++ b/aft.c @@ -1224,7 +1224,7 @@ static int sort_matching_paths(struct ls_options *options) int (*compar)(const void *, const void *); int i; - options->data_ptr = alloc(nmemb * sizeof(*options->data_ptr)); + options->data_ptr = arr_alloc(nmemb, sizeof(*options->data_ptr)); for (i = 0; i < nmemb; i++) options->data_ptr[i] = options->data + i;