Merge branch 'fix-hacklib' of https://github.com/argrath/NetHack into NetHack-3.7
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user