mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 11:35:05 +08:00
filesystem: fixed build for Windows
This commit is contained in:
committed by
Alibek Omarov
parent
a8674c18df
commit
fd7dba74cd
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user