summaryrefslogtreecommitdiff
path: root/src/indexer.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-09-18 03:54:17 +0200
committerVicent Marti <tanoku@gmail.com>2013-09-18 03:54:17 +0200
commit5a284edca42dd75cf62b3fe75020819fcfcea9f3 (patch)
treec07b7b0d77981d70fd6278bfe23c18ed276c6554 /src/indexer.c
parent4cf9323be1ed856e8d8b3d5c41390ea89e0583d3 (diff)
downloadlibgit2-5a284edca42dd75cf62b3fe75020819fcfcea9f3.tar.gz
msvc: No void* arithmetic on Windows
Diffstat (limited to 'src/indexer.c')
-rw-r--r--src/indexer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indexer.c b/src/indexer.c
index aaaf093d1..ceb11f0b6 100644
--- a/src/indexer.c
+++ b/src/indexer.c
@@ -376,7 +376,7 @@ static int do_progress_callback(git_indexer_stream *idx, git_transfer_progress *
}
/* Hash everything but the last 20B of input */
-static void hash_partially(git_indexer_stream *idx, const void *data, size_t size)
+static void hash_partially(git_indexer_stream *idx, const uint8_t *data, size_t size)
{
int to_expell, to_keep;