diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-04-01 22:21:20 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-04-01 22:21:30 -0400 |
| commit | 6ec38e77d7b0adb64e37e9faa82624cda2576335 (patch) | |
| tree | 16e946fcbf7cb2111666dc0cb94de5f56388e9dd /src | |
| parent | fa5ad58974a6a16d6d8c730c2189696ceba50990 (diff) | |
| download | fujinet-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.c | 4 |
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++; |
