From b5ee516575b4d2f1fd7de014230fee7cf8b6b538 Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 17 Jul 2006 01:52:13 +0000 Subject: add uint and standardize on typedefs instead of unsigned --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 39c11dc..694a0f7 100644 --- a/main.c +++ b/main.c @@ -81,8 +81,8 @@ main0(void) p = copyproc(&proc[0]); - load_icode(p, _binary_usertests_start, (unsigned) _binary_usertests_size); - //load_icode(p, _binary_userfs_start, (unsigned) _binary_userfs_size); + load_icode(p, _binary_usertests_start, (uint) _binary_usertests_size); + //load_icode(p, _binary_userfs_start, (uint) _binary_userfs_size); p->state = RUNNABLE; cprintf("loaded userfs\n"); @@ -107,7 +107,7 @@ mpmain(void) } void -load_icode(struct proc *p, uint8_t *binary, unsigned size) +load_icode(struct proc *p, uint8_t *binary, uint size) { int i; struct Elf *elf; -- cgit v1.2.3