msvc: mark a variable as non-const
commit12fb9bd85ee9e673c70df90cf5a926e82d98eda8
authorJeff Hostetler <jeffhost@microsoft.com>
Wed, 19 Jun 2019 21:06:02 +0000 (19 14:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Jun 2019 21:03:05 +0000 (20 14:03 -0700)
tree84f64c73b824caf5ea6eae17d0ba9fda7d9bd722
parenta822fb853a60c9a13438d6351622b62501de5a32
msvc: mark a variable as non-const

VS2015 complains when using a const pointer in memcpy()/free().

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.c