mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 10:10:01 +00:00
trivial fix
This commit is contained in:
parent
0f020127f3
commit
a4ec3cdf0b
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue