Fix type. [jmk] --rw-rw-r-- M 905070 glenda sys 472 Dec 7 19:57 sys/src/ape/lib/ap/plan9/brk.c /n/sourcesdump/2005/1207/plan9/sys/src/ape/lib/ap/plan9/brk.c:22,37 - /n/sourcesdump/2005/1208/plan9/sys/src/ape/lib/ap/plan9/brk.c:22,36 return 0; } - char * - sbrk(int n) + void * + sbrk(unsigned long n) { - n += 3; n &= ~3; if(_BRK_((void *)(bloc+n)) < 0){ errno = ENOMEM; - return (char *)-1; + return (void *)-1; } bloc += n; - return (char *)(bloc-n); + return (void *)(bloc-n); }