]> git.ipfire.org Git - thirdparty/git.git/blobdiff - http-push.c
Miscellaneous const changes and utilities
[thirdparty/git.git] / http-push.c
index c02a3af63450fd7cf22118b481b4f0d9dd35b156..f461bb32481ca5a6e8b119ede9c517876cc4e699 100644 (file)
@@ -2389,7 +2389,7 @@ int main(int argc, char **argv)
        if (!remote_tail)
                remote_tail = &remote_refs;
        if (match_refs(local_refs, remote_refs, &remote_tail,
-                      nr_refspec, refspec, push_all))
+                      nr_refspec, (const char **) refspec, push_all))
                return -1;
        if (!remote_refs) {
                fprintf(stderr, "No refs in common and none specified; doing nothing.\n");