Commit ad003763 by Vicent Marti

MSVC: What could possibly be the size of a void*?

parent c6d7d877
...@@ -642,7 +642,8 @@ void git__insertsort_r( ...@@ -642,7 +642,8 @@ void git__insertsort_r(
void *els, size_t nel, size_t elsize, void *swapel, void *els, size_t nel, size_t elsize, void *swapel,
git__sort_r_cmp cmp, void *payload) git__sort_r_cmp cmp, void *payload)
{ {
uint8_t *base = els, *end = els + nel * elsize; uint8_t *base = els;
uint8_t *end = base + nel * elsize;
uint8_t *i, *j; uint8_t *i, *j;
bool freeswap = !swapel; bool freeswap = !swapel;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment