From 7c65b8bb9dcb35d77b52eda363152e293a649700 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 23 Dec 2023 15:40:38 +0100 Subject: Parentheses --- FICS/adminproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FICS') diff --git a/FICS/adminproc.c b/FICS/adminproc.c index ed40b70..69eb9c3 100644 --- a/FICS/adminproc.c +++ b/FICS/adminproc.c @@ -932,7 +932,7 @@ com_addplayer(int p, param_list param) if (strcmp(newemail, "none")) { for (i = 0; i < PASSLEN; i++) - password[i] = 'a' + rand() % 26; + password[i] = ('a' + rand() % 26); password[i] = '\0'; salt[0] = ('a' + rand() % 26); -- cgit v1.2.3