28 Jan
2026
28 Jan
'26
9:22 a.m.
Piotr Caban (@piotr) commented about dlls/msvcrt/time.c:
_ftime64(&tb);
- curtime = tb.time; + curtime = (tb.time == (__time32_t)tb.time) ? (__time32_t)tb.time : -1;
This change matches with native behavior (tested with ucrtbase). There's unneeded cast: ```suggestion:-0+0 curtime = (tb.time == (__time32_t)tb.time) ? tb.time : -1; ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9988#note_128284