summaryrefslogtreecommitdiff
path: root/src/core/Directory.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-07-22 14:56:28 +0300
committereray orçunus <erayorcunus@gmail.com>2020-07-24 20:26:33 +0300
commit732b7608299b1bbe40d65088498d9b37ab7d9265 (patch)
treeee2e85916ffadc40bc0564348ac5041196cbf28a /src/core/Directory.cpp
parent8117bcb56f00882c6cf4056431e82c9b7ef23308 (diff)
64-bit on Windows
Diffstat (limited to 'src/core/Directory.cpp')
-rw-r--r--src/core/Directory.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/Directory.cpp b/src/core/Directory.cpp
index cc4d65d8..05344065 100644
--- a/src/core/Directory.cpp
+++ b/src/core/Directory.cpp
@@ -30,7 +30,8 @@ CDirectory::ReadDirFile(const char *filename)
bool
CDirectory::WriteDirFile(const char *filename)
{
- int fd, n;
+ int fd;
+ size_t n;
fd = CFileMgr::OpenFileForWriting(filename);
n = CFileMgr::Write(fd, (char*)entries, numEntries*sizeof(DirectoryInfo));
CFileMgr::CloseFile(fd);