diff options
| author | Russell Belfer <rb@github.com> | 2013-05-07 09:59:53 -0700 |
|---|---|---|
| committer | Russell Belfer <rb@github.com> | 2013-05-07 09:59:53 -0700 |
| commit | 0f938c6b8fbddc8810b05603c29751c0b5b7323c (patch) | |
| tree | e8269d91eb4018f4ccff11ab164a27fdc0bd00eb /src/remote.c | |
| parent | 33665410d636c9f5f0d5e017fe6347260b1b6ec1 (diff) | |
| download | libgit2-0f938c6b8fbddc8810b05603c29751c0b5b7323c.tar.gz | |
Fix win32 type warnings
Diffstat (limited to 'src/remote.c')
| -rw-r--r-- | src/remote.c | 2 |
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) { |
