summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGraham Dennis <graham.dennis@gmail.com>2014-01-18 08:54:19 +1100
committerGraham Dennis <graham.dennis@gmail.com>2014-01-18 08:54:19 +1100
commitc7015424ccd2a7cb95a0cd3ed65d22495cd2d78f (patch)
tree2f6948fe677a6e218f6dd432568121d8d093688b /tests
parent194d077c4f6eeea0451753bf5f43355f6520a359 (diff)
downloadlibgit2-c7015424ccd2a7cb95a0cd3ed65d22495cd2d78f.tar.gz
Fix a compile warning.
Diffstat (limited to 'tests')
-rw-r--r--tests/network/remote/local.c2
1 files changed, 1 insertions, 1 deletions
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));