e6e1ace990
We use signed values for limit checking since the values can go negative under certain circumstances. However, sizeof() is unsigned and forces the comparison to be unsigned, so move the comparison into the heap_free() macros so we can ensure it is a signed comparison. Signed-off-by: H. Peter Anvin <hpa@zytor.com> |
||
---|---|---|
.. | ||
compressed | ||
tools | ||
.gitignore | ||
a20.c | ||
apm.c | ||
bitops.h | ||
boot.h | ||
cmdline.c | ||
code16gcc.h | ||
copy.S | ||
cpu.c | ||
cpucheck.c | ||
edd.c | ||
header.S | ||
install.sh | ||
main.c | ||
Makefile | ||
mca.c | ||
memory.c | ||
mtools.conf.in | ||
pm.c | ||
pmjump.S | ||
printf.c | ||
setup.ld | ||
string.c | ||
tty.c | ||
version.c | ||
vesa.h | ||
video-bios.c | ||
video-vesa.c | ||
video-vga.c | ||
video.c | ||
video.h | ||
voyager.c |