diff options
Diffstat (limited to 'src/user/knob')
-rw-r--r-- | src/user/knob/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/knob/file.c b/src/user/knob/file.c index 8d7a327..db38e52 100644 --- a/src/user/knob/file.c +++ b/src/user/knob/file.c @@ -85,7 +85,7 @@ uint32_t write_to_file(struct file *f, uint32_t max, void *buf) { //return value and max_length don't include null terminator uint32_t read_line_from_file(struct file *f, char *sz, uint32_t max_length) { - uint8_t i; + uint32_t i; for (i = 0; i < max_length; ++i) { char byte; if (!read_from_file(f, 1, &byte) || (byte == '\n')) |