Use uint64 (thanks carlclone and Harry Porter)
This commit is contained in:
parent
7a6d57235c
commit
1d4c437ea1
|
@ -259,7 +259,7 @@ userinit(void)
|
||||||
int
|
int
|
||||||
growproc(int n)
|
growproc(int n)
|
||||||
{
|
{
|
||||||
uint sz;
|
uint64 sz;
|
||||||
struct proc *p = myproc();
|
struct proc *p = myproc();
|
||||||
|
|
||||||
sz = p->sz;
|
sz = p->sz;
|
||||||
|
|
|
@ -40,7 +40,7 @@ sys_wait(void)
|
||||||
uint64
|
uint64
|
||||||
sys_sbrk(void)
|
sys_sbrk(void)
|
||||||
{
|
{
|
||||||
int addr;
|
uint64 addr;
|
||||||
int n;
|
int n;
|
||||||
|
|
||||||
if(argint(0, &n) < 0)
|
if(argint(0, &n) < 0)
|
||||||
|
|
Loading…
Reference in a new issue