Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-05-07 20:59:53 +0400
committerRussell Belfer <rb@github.com>2013-05-07 20:59:53 +0400
commit0f938c6b8fbddc8810b05603c29751c0b5b7323c (patch)
treee8269d91eb4018f4ccff11ab164a27fdc0bd00eb /src/remote.c
parent33665410d636c9f5f0d5e017fe6347260b1b6ec1 (diff)
Fix win32 type warnings
Diffstat (limited to 'src/remote.c')
-rw-r--r--src/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote.c b/src/remote.c
index cba6b2548..9873fe6de 100644
--- a/src/remote.c
+++ b/src/remote.c
@@ -292,7 +292,7 @@ int git_remote_load(git_remote **out, git_repository *repo, const char *name)
git_buf_clear(&buf);
git_buf_printf(&buf, "remote.%s.pushurl", name);
- if ((error = get_optional_config(config, &buf, NULL, &val)) < 0)
+ if ((error = get_optional_config(config, &buf, NULL, (void *)&val)) < 0)
goto cleanup;
if (val) {