avoid use of all ctype macros
[libguestfs.git] / daemon / augeas.c
index 7de3624..3628219 100644 (file)
@@ -376,7 +376,7 @@ do_aug_ls (const char *path)
   if (matches == NULL)
     return NULL;               /* do_aug_match has already sent the error */
 
-  sort_strings (matches, count_strings (matches));
+  sort_strings (matches, count_strings ((void *) matches));
   return matches;              /* Caller frees. */
 #else
   reply_with_error ("%s is not available", __func__);