From 938868f5086087b4d75c9e0820c00755af7ecc5e Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 5 Apr 2025 13:51:06 +0200 Subject: t_sft: made parameter 'want' const --- FICS/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FICS') diff --git a/FICS/utils.c b/FICS/utils.c index ce02a5d..53d233b 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -964,7 +964,7 @@ ratstrii(int rat, int reg) * Fill 't_buffer' with anything matching "want*" in file tree */ PRIVATE void -t_sft(char *want, struct t_tree *t) +t_sft(const char *want, struct t_tree *t) { if (t) { int cmp = strncmp(want, t->name, strlen(want)); -- cgit v1.2.3