diff options
author | C. McEnroe | 2020-02-15 22:19:55 -0500 |
---|---|---|
committer | C. McEnroe | 2020-02-15 22:19:55 -0500 |
commit | 700b5d587015faa396b1149525b084960d6524c3 (patch) | |
tree | 7452916a9e52a22f480e35ac4ebc401535efd81b /edit.c | |
parent | 83df94b359c06545cb8f5db9dd2229d0ae1f5914 (diff) |
Replace small integers in size_t with uint
Diffstat (limited to 'edit.c')
-rw-r--r-- | edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/edit.c b/edit.c index 997feed..a0ec333 100644 --- a/edit.c +++ b/edit.c @@ -78,7 +78,7 @@ static struct { size_t len; } tab; -static void tabComplete(size_t id) { +static void tabComplete(uint id) { if (!tab.len) { tab.pos = pos; while (tab.pos && buf[tab.pos - 1] != L' ') tab.pos--; @@ -142,7 +142,7 @@ static void tabReject(void) { tab.len = 0; } -void edit(size_t id, enum Edit op, wchar_t ch) { +void edit(uint id, enum Edit op, wchar_t ch) { size_t init = pos; switch (op) { break; case EditHead: pos = 0; |