diff --git a/src/libostree/ostree-repo-finder-config.c b/src/libostree/ostree-repo-finder-config.c index 4366d72a..06f61657 100644 --- a/src/libostree/ostree-repo-finder-config.c +++ b/src/libostree/ostree-repo-finder-config.c @@ -96,7 +96,7 @@ ostree_repo_finder_config_resolve_async (OstreeRepoFinder *find GHashTableIter iter; const gchar *remote_name; g_auto(GStrv) remotes = NULL; - gsize n_remotes = 0; + guint n_remotes = 0; task = g_task_new (finder, cancellable, callback, user_data); g_task_set_source_tag (task, ostree_repo_finder_config_resolve_async); @@ -106,9 +106,9 @@ ostree_repo_finder_config_resolve_async (OstreeRepoFinder *find /* List all remotes in this #OstreeRepo and see which of their ref lists * intersect with @refs. */ - remotes = ostree_repo_remote_list (parent_repo, (guint *) &n_remotes); + remotes = ostree_repo_remote_list (parent_repo, &n_remotes); - g_debug ("%s: Checking %" G_GSIZE_FORMAT " remotes", G_STRFUNC, n_remotes); + g_debug ("%s: Checking %u remotes", G_STRFUNC, n_remotes); for (i = 0; i < n_remotes; i++) {