aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-04-01 22:21:20 -0400
committerB. Watson <urchlay@slackware.uk>2026-04-01 22:21:30 -0400
commit6ec38e77d7b0adb64e37e9faa82624cda2576335 (patch)
tree16e946fcbf7cb2111666dc0cb94de5f56388e9dd /src
parentfa5ad58974a6a16d6d8c730c2189696ceba50990 (diff)
downloadfujinet-chat-6ec38e77d7b0adb64e37e9faa82624cda2576335.tar.gz
Change a couple ints to chars, save ~50 bytes. 5672 bytes free.
Diffstat (limited to 'src')
-rw-r--r--src/complete.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/complete.c b/src/complete.c
index 1af6930..46073c4 100644
--- a/src/complete.c
+++ b/src/complete.c
@@ -25,7 +25,7 @@ char (*add_to)[25] = comp_pm_nicks;
static char pm_nick_pos = 0; /* insertion point for _add() */
static void add_list(const char *n) {
- int i;
+ char i;
for(i = 0; i < 25; i++)
if(strneq_i(n, add_to[i], 24))
@@ -47,7 +47,7 @@ void comp_add_pm_chan(const char *n) {
}
char match(const char *p, const char *q) {
- int len;
+ char len;
while(*p == '#') p++;
while(*q == '#') q++;