filesystem: fixed build for Windows

This commit is contained in:
SNMetamorph
2022-08-01 04:12:35 +04:00
committed by Alibek Omarov
parent a8674c18df
commit fd7dba74cd
5 changed files with 17 additions and 4 deletions

View File

@@ -219,8 +219,8 @@ public:
void FileTimeToString( char *p, int size, long int time ) override
{
char *buf = ctime( &time );
time_t curtime = time;
char *buf = ctime( &curtime );
Q_strncpy( p, buf, size );
}