1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-06-13 20:18:30 +00:00

trivial fix

This commit is contained in:
erorcun 2020-12-27 06:03:38 +03:00
parent 0f020127f3
commit a4ec3cdf0b

View file

@ -31,7 +31,7 @@ bool
CDirectory::WriteDirFile(const char *filename)
{
int fd;
ssize_t n;
size_t n;
fd = CFileMgr::OpenFileForWriting(filename);
n = CFileMgr::Write(fd, (char*)entries, numEntries*sizeof(DirectoryInfo));
CFileMgr::CloseFile(fd);