That was pretty hard to spot but obvious once found.
static int sort_matching_paths(struct ls_options *options)
{
size_t nmemb = options->num_matching_paths;
static int sort_matching_paths(struct ls_options *options)
{
size_t nmemb = options->num_matching_paths;
- size_t size = sizeof(uint32_t);
+ size_t size = sizeof(*options->data_ptr);
int (*compar)(const void *, const void *);
int i;
int (*compar)(const void *, const void *);
int i;