Commit 5a284edca42dd75cf62b3fe75020819fcfcea9f3

Vicent Marti 2013-09-18T03:54:17

msvc: No void* arithmetic on Windows

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/indexer.c b/src/indexer.c
index aaaf093..ceb11f0 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;