summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests-clar/clar_helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/clar_helpers.c b/tests-clar/clar_helpers.c
index 178ae68b1..3d09bd489 100644
--- a/tests-clar/clar_helpers.c
+++ b/tests-clar/clar_helpers.c
@@ -249,7 +249,7 @@ const char* cl_git_path_url(const char *path)
* *nix: file:///usr/home/...
* Windows: file:///C:/Users/...
*/
- cl_git_pass(git_buf_putc(url_buf, '/'));
+ cl_git_pass(git_buf_putc(&url_buf, '/'));
#endif
in_buf = git_buf_cstr(&path_buf);