nedmalloc: Fix a compile warning (exposed as error) with GCC 4.7.2
authorSebastian Schuberth <sschuberth@gmail.com>
Tue, 11 Dec 2012 20:34:51 +0000 (21:34 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Dec 2012 06:10:22 +0000 (22:10 -0800)
commit8e679e08a6e12e183aeb068a2ff5d75599d6433d
tree04217384d1f655863c3cde380329a0763d75b93f
parent7e0651a6302b50db4bac1e65da61c4036cc64d2a
nedmalloc: Fix a compile warning (exposed as error) with GCC 4.7.2

On MinGW, GCC 4.7.2 complains about

    operation on 'p->m[end]' may be undefined

Fix this by replacing the faulty lines with those of 69825ca from

    https://github.com/ned14/nedmalloc/blob/master/nedmalloc.c

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/nedmalloc/nedmalloc.c