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 /irc.c | |
parent | 83df94b359c06545cb8f5db9dd2229d0ae1f5914 (diff) |
Replace small integers in size_t with uint
Diffstat (limited to 'irc.c')
-rw-r--r-- | irc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/irc.c b/irc.c index dd36f10..704caa6 100644 --- a/irc.c +++ b/irc.c @@ -220,7 +220,7 @@ static struct Message parse(char *line) { while (tags) { char *tag = strsep(&tags, ";"); char *key = strsep(&tag, "="); - for (size_t i = 0; i < TagCap; ++i) { + for (uint i = 0; i < TagCap; ++i) { if (strcmp(key, TagNames[i])) continue; unescape(tag); msg.tags[i] = tag; @@ -237,7 +237,7 @@ static struct Message parse(char *line) { } msg.cmd = strsep(&line, " "); - for (size_t i = 0; line && i < ParamCap; ++i) { + for (uint i = 0; line && i < ParamCap; ++i) { if (line[0] == ':') { msg.params[i] = &line[1]; break; |