Windows format string bits

This commit is contained in:
nhmall
2021-02-02 21:53:13 -05:00
parent 4c16f74b7f
commit 7b454f8ba3
5 changed files with 5 additions and 5 deletions

View File

@@ -422,7 +422,7 @@ GetConsoleHwnd(void)
/* Get current window title */
GetConsoleTitle(OldTitle, sizeof OldTitle);
(void) sprintf(NewTitle, "NETHACK%d/%d", GetTickCount(),
(void) sprintf(NewTitle, "NETHACK%ld/%ld", GetTickCount(),
GetCurrentProcessId());
SetConsoleTitle(NewTitle);