From c7015424ccd2a7cb95a0cd3ed65d22495cd2d78f Mon Sep 17 00:00:00 2001 From: Graham Dennis Date: Sat, 18 Jan 2014 08:54:19 +1100 Subject: [PATCH] Fix a compile warning. --- tests/network/remote/local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/network/remote/local.c b/tests/network/remote/local.c index 2ec5780e5..c713ade5b 100644 --- a/tests/network/remote/local.c +++ b/tests/network/remote/local.c @@ -218,7 +218,7 @@ void test_network_remote_local__push_to_bare_remote_with_file_url(void) } /* Create a file URL */ - char *url = cl_git_path_url("./localbare.git"); + const char *url = cl_git_path_url("./localbare.git"); /* Connect to the bare repo */ cl_git_pass(git_remote_create_inmemory(&localremote, repo, NULL, url));