Commit Diff


commit - c33c9f68a8fd3f59f1f4fef31cdeadead599bee5
commit + 1e727ac39823a54d37997ae9123f1d4ae824a91c
blob - bdad8007768d5689706551b79b0caa0b1ed904c6
blob + a6b317d949eb7b0f829b459c68df84f27094dd26
--- FICS/playerdb.c
+++ FICS/playerdb.c
@@ -871,7 +871,7 @@ got_attr_value_player(int p, char *attr, char *value, 
 	} else if (!strcmp(attr, "network:")) {
 		/* parray[p].network_player = atoi(value) */;
 	} else if (!strcmp(attr, "lasthost:")) {
-		parray[p].lastHost = atoi(value); // XXX: unsigned int
+		parray[p].lastHost = get_uint(value);
 	} else if (!strcmp(attr, "channel:")) {
 		list_addsub(p, "channel", value, 1);
 	} else if (!strcmp(attr, "num_comments:")) {