summaryrefslogtreecommitdiffstats
path: root/src/core/Directory.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-12-25 10:56:31 +0100
committerGitHub <noreply@github.com>2020-12-25 10:56:31 +0100
commit3b85457020a7334f1b96e3ee9618c9377d5edbd7 (patch)
tree380178eb341e070ad953ac2be17786a5ff722c94 /src/core/Directory.cpp
parentMerge remote-tracking branch 'upstream/miami' into miami (diff)
parentsigned/unsigned fixes, and some other fixes (diff)
downloadre3-3b85457020a7334f1b96e3ee9618c9377d5edbd7.tar
re3-3b85457020a7334f1b96e3ee9618c9377d5edbd7.tar.gz
re3-3b85457020a7334f1b96e3ee9618c9377d5edbd7.tar.bz2
re3-3b85457020a7334f1b96e3ee9618c9377d5edbd7.tar.lz
re3-3b85457020a7334f1b96e3ee9618c9377d5edbd7.tar.xz
re3-3b85457020a7334f1b96e3ee9618c9377d5edbd7.tar.zst
re3-3b85457020a7334f1b96e3ee9618c9377d5edbd7.zip
Diffstat (limited to 'src/core/Directory.cpp')
-rw-r--r--src/core/Directory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Directory.cpp b/src/core/Directory.cpp
index 05344065..046c999d 100644
--- a/src/core/Directory.cpp
+++ b/src/core/Directory.cpp
@@ -31,7 +31,7 @@ bool
CDirectory::WriteDirFile(const char *filename)
{
int fd;
- size_t n;
+ ssize_t n;
fd = CFileMgr::OpenFileForWriting(filename);
n = CFileMgr::Write(fd, (char*)entries, numEntries*sizeof(DirectoryInfo));
CFileMgr::CloseFile(fd);