summaryrefslogtreecommitdiff
path: root/src/attr.c
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-01-04 17:59:48 +0100
committernulltoken <emeric.fermas@gmail.com>2012-01-04 18:17:55 +0100
commitacb159e19159f63651eb2ccc8e4a4a31771c08c5 (patch)
tree4dcfd7ace3ca818acf69a8bef16b7e17a2b03ec2 /src/attr.c
parent7d93f96aa90c22fa7ebcbc954ad71e1cfed7013e (diff)
downloadlibgit2-acb159e19159f63651eb2ccc8e4a4a31771c08c5.tar.gz
Fix MSVC compilation warnings
Diffstat (limited to 'src/attr.c')
-rw-r--r--src/attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attr.c b/src/attr.c
index f984458d4..679380bba 100644
--- a/src/attr.c
+++ b/src/attr.c
@@ -73,7 +73,7 @@ int git_attr_get_many(
attr_get_many_info *info = NULL;
size_t num_found = 0;
- memset(values, 0, sizeof(const char *) * num_attr);
+ memset((void *)values, 0, sizeof(const char *) * num_attr);
if ((error = git_attr_path__init(&path, pathname)) < GIT_SUCCESS ||
(error = collect_attr_files(repo, pathname, &files)) < GIT_SUCCESS)