aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-23 15:40:38 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-23 15:40:38 +0100
commit7c65b8bb9dcb35d77b52eda363152e293a649700 (patch)
tree8690e96f0e421ac5f5c9418c94606c4385086f04
parentc8d1c17976b27cba9bd079424cf94642e931e851 (diff)
Parentheses
-rw-r--r--FICS/adminproc.c2
1 files changed, 1 insertions, 1 deletions
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);