diff options
author | erorcun <erayorcunus@gmail.com> | 2020-12-25 10:56:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-25 10:56:31 +0100 |
commit | 3b85457020a7334f1b96e3ee9618c9377d5edbd7 (patch) | |
tree | 380178eb341e070ad953ac2be17786a5ff722c94 /src/core/Directory.cpp | |
parent | Merge remote-tracking branch 'upstream/miami' into miami (diff) | |
parent | signed/unsigned fixes, and some other fixes (diff) | |
download | re3-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.cpp | 2 |
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); |