1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-12-25 18:05:27 +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) CDirectory::WriteDirFile(const char *filename)
{ {
int fd; int fd;
ssize_t n; size_t n;
fd = CFileMgr::OpenFileForWriting(filename); fd = CFileMgr::OpenFileForWriting(filename);
n = CFileMgr::Write(fd, (char*)entries, numEntries*sizeof(DirectoryInfo)); n = CFileMgr::Write(fd, (char*)entries, numEntries*sizeof(DirectoryInfo));
CFileMgr::CloseFile(fd); CFileMgr::CloseFile(fd);