From 2fc768319887945c5c6beafcd21d29d9884cd48a Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Wed, 3 Mar 2021 23:47:26 -0500 Subject: moving windows with mouse, changing some old panics into syslogs, small bugfix in knob files, "send to back" wm keybinding --- src/user/knob/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/user/knob') 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')) -- cgit v1.2.3