Commit Diff


commit - 8cdc561067c1b5594ef8a74c94633a92eef8c6ac
commit + 7db4a1f665a36bc2ffcefc9c57245d9ac147c5fb
blob - 29e8d78d809d4d7f8086e73b4122d3a910a28957
blob + 29e14f45c60e375e05feee93af9515acf761add5
--- FICS/playerdb.c
+++ FICS/playerdb.c
@@ -1721,7 +1721,7 @@ player_lastconnect(int p)
 		_Static_assert(19 < ARRAY_SIZE(ipstr),
 		    "'ipstr' too small");
 
-		if (fscanf(fp, "%d %19s " "%" SCNd64 " %d %19s\n", &inout,
+		if (fscanf(fp, ("%d %19s " "%" SCNd64 " %d %19s\n"), &inout,
 		    loginName, &lval, &registered, ipstr) != 5) {
 			fprintf(stderr, "FICS: Error in login info format. %s"
 			    "\n", fname);
@@ -1764,7 +1764,7 @@ player_lastdisconnect(int p)
 		_Static_assert(19 < ARRAY_SIZE(ipstr),
 		    "'ipstr' too small");
 
-		if (fscanf(fp, "%d %19s " "%" SCNd64 " %d %19s\n", &inout,
+		if (fscanf(fp, ("%d %19s " "%" SCNd64 " %d %19s\n"), &inout,
 		    loginName, &lval, &registered, ipstr) != 5) {
 			fprintf(stderr, "FICS: Error in login info format. %s"
 			    "\n", fname);