diff options
Diffstat (limited to 'src/userprog')
| -rw-r--r-- | src/userprog/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userprog/syscall.c b/src/userprog/syscall.c index 921ed44..4ff0340 100644 --- a/src/userprog/syscall.c +++ b/src/userprog/syscall.c @@ -90,7 +90,7 @@ read (int fd_i, void *buf, unsigned size) if (fd_i == 0) { // stdin - int i; + unsigned i; for (i = 0; i < size; i++) { ((char *)buf)[i] = input_getc (); } |
