mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-12 21:01:00 +00:00
Win32: try to fix up CD printf code
This commit is contained in:
parent
365879d06f
commit
a4072260db
1 changed files with 2 additions and 2 deletions
|
@ -180,9 +180,9 @@ static LPSTR hms(UINT seconds)
|
|||
hours = minutes / 60;
|
||||
minutes %= 60;
|
||||
if (hours > 0)
|
||||
sprintf (s, "%lu:%02lu:%02lu", (long unsigned int)hours, (long unsigned int)minutes, (long unsigned int)seconds);
|
||||
sprintf (s, "%lu:%02u:%02u", (long unsigned int)hours, (unsigned char)minutes, (unsigned char)seconds);
|
||||
else
|
||||
sprintf (s, "%2lu:%02lu", (long unsigned int)minutes, (long unsigned int)seconds);
|
||||
sprintf (s, "%2u:%02u", (unsigned char)minutes, (unsigned char)seconds);
|
||||
return s;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue