mirror of
https://github.com/halpz/re3.git
synced 2024-12-25 18:05:27 +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