fix call to localtime_s
This commit is contained in:
parent
391f2f7c4a
commit
3280363b66
@ -85,7 +85,7 @@ static WCHAR* printer_win_get_printjob_name(size_t id)
|
||||
int rc;
|
||||
|
||||
tt = time(NULL);
|
||||
t = localtime_s(&tt, &tres);
|
||||
t = localtime_s(&tres, &tt);
|
||||
|
||||
str = calloc(len, sizeof(WCHAR));
|
||||
if (!str)
|
||||
|
Loading…
Reference in New Issue
Block a user