fix call to localtime_s

This commit is contained in:
Alexandru Bagu 2021-10-25 23:04:17 +03:00 committed by akallabeth
parent 391f2f7c4a
commit 3280363b66

View File

@ -85,7 +85,7 @@ static WCHAR* printer_win_get_printjob_name(size_t id)
int rc; int rc;
tt = time(NULL); tt = time(NULL);
t = localtime_s(&tt, &tres); t = localtime_s(&tres, &tt);
str = calloc(len, sizeof(WCHAR)); str = calloc(len, sizeof(WCHAR));
if (!str) if (!str)