aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/playerdb.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2025-11-02 11:39:25 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2025-11-02 11:39:25 +0100
commit14888fd220ac0f6aeaf174a5855e3e91f39a0735 (patch)
tree864f151fd789ff1d5d656598f63206398620ef3a /FICS/playerdb.c
parent2c739a6daeb1373722f2c02d84a4fef684479752 (diff)
player_read: changed the type of 'len'
Diffstat (limited to 'FICS/playerdb.c')
-rw-r--r--FICS/playerdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/playerdb.c b/FICS/playerdb.c
index cde9e26..86fc553 100644
--- a/FICS/playerdb.c
+++ b/FICS/playerdb.c
@@ -1087,8 +1087,8 @@ player_read(int p, char *name)
char line[MAX_LINE_SIZE] = { '\0' };
char *attr, *value;
char *resolvedPath = NULL;
- int len = 0;
int version = 0;
+ size_t len = 0;
parray[p].login = stolower(xstrdup(name)); // free on error?