Merge branch 'fix-hacklib' of https://github.com/argrath/NetHack into NetHack-3.7

This commit is contained in:
nhmall
2023-01-24 00:39:10 -05:00

View File

@@ -1157,7 +1157,7 @@ time_from_yyyymmddhhmmss(char *buf)
t.tm_sec = atoi(s);
timeresult = mktime(&t);
}
if ((int) timeresult == -1)
if (timeresult == (time_t) -1)
debugpline1("time_from_yyyymmddhhmmss(%s) would have returned -1",
buf ? buf : "");
else