Use uint64 (thanks carlclone and Harry Porter)

This commit is contained in:
Frans Kaashoek 2022-08-17 20:37:22 -04:00
parent 7a6d57235c
commit 1d4c437ea1
2 changed files with 2 additions and 2 deletions

View file

@ -259,7 +259,7 @@ userinit(void)
int
growproc(int n)
{
uint sz;
uint64 sz;
struct proc *p = myproc();
sz = p->sz;

View file

@ -40,7 +40,7 @@ sys_wait(void)
uint64
sys_sbrk(void)
{
int addr;
uint64 addr;
int n;
if(argint(0, &n) < 0)