fix Windows build
This commit is contained in:
parent
cdbba2a6fc
commit
a08a23fd13
|
@ -1440,8 +1440,8 @@ namespace IGFD
|
|||
SYSTEMTIME localTime;
|
||||
char timebuf[100];
|
||||
|
||||
infos.fileSize=dent.dwin_size;
|
||||
if (FileTimeToSystemTime(&dent.dwin_mtime,&systemTime)==TRUE) {
|
||||
infos.fileSize=dent->dwin_size;
|
||||
if (FileTimeToSystemTime(&dent->dwin_mtime,&systemTime)==TRUE) {
|
||||
if (SystemTimeToTzSpecificLocalTime(NULL,&systemTime,&localTime)==TRUE) {
|
||||
snprintf(timebuf,99,"%d/%.2d/%.2d %.2d:%.2d",localTime.wYear,localTime.wMonth,localTime.wDay,localTime.wHour,localTime.wMinute);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue