X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Faugeas.c;h=3628219f053e09a3f86d87e2e5eb4c6746bb4a02;hb=d5fad33b4eaa39722ea1dc96de9446ffc4805e01;hp=7de362490abdf231486e9fa060b3761a90c32f6a;hpb=84fc760439e82e6b3616abd0d1f9bd7d7eb01ec0;p=libguestfs.git diff --git a/daemon/augeas.c b/daemon/augeas.c index 7de3624..3628219 100644 --- a/daemon/augeas.c +++ b/daemon/augeas.c @@ -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__);