Commit c7015424ccd2a7cb95a0cd3ed65d22495cd2d78f

Graham Dennis 2014-01-18T08:54:19

Fix a compile warning.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/network/remote/local.c b/tests/network/remote/local.c
index 2ec5780..c713ade 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));