diff options
author | Benji Dial <benji6283@gmail.com> | 2021-03-03 23:47:26 -0500 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2021-03-03 23:47:26 -0500 |
commit | 2fc768319887945c5c6beafcd21d29d9884cd48a (patch) | |
tree | 9dadaf32069588c23e755228099669557449304f /src/user | |
parent | 81df4702c424f91cca5570ab2554d1d4cbae534d (diff) | |
download | portland-os-2fc768319887945c5c6beafcd21d29d9884cd48a.tar.gz |
moving windows with mouse, changing some old panics into syslogs, small bugfix in knob files, "send to back" wm keybinding
Diffstat (limited to 'src/user')
-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')) |