syscall_exec: unsigned type for the basepage check
authorAlan Cox <alan@linux.intel.com>
Sun, 25 Jan 2015 20:43:23 +0000 (20:43 +0000)
committerAlan Cox <alan@linux.intel.com>
Sun, 25 Jan 2015 20:43:23 +0000 (20:43 +0000)
Otherwise we break on 0x8000 +

Kernel/syscall_exec.c

index bab71b4..586f8d6 100644 (file)
@@ -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;