From: Alan Cox Date: Sun, 25 Jan 2015 20:43:23 +0000 (+0000) Subject: syscall_exec: unsigned type for the basepage check X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=9bac7be27df529703224b0a5f1b051793d301292;p=FUZIX.git syscall_exec: unsigned type for the basepage check Otherwise we break on 0x8000 + --- diff --git a/Kernel/syscall_exec.c b/Kernel/syscall_exec.c index bab71b47..586f8d69 100644 --- a/Kernel/syscall_exec.c +++ b/Kernel/syscall_exec.c @@ -74,7 +74,7 @@ int16_t _execve(void) staticfast uint16_t top; uint16_t bin_size; /* Will need to be bigger on some cpus */ uint16_t bss; - char *p; + uint8_t *p; top = ramtop;