From a4ec3cdf0b0a40c144c51d5310a81bc8e2a2a318 Mon Sep 17 00:00:00 2001 From: erorcun Date: Sun, 27 Dec 2020 06:03:38 +0300 Subject: trivial fix --- src/core/Directory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/core/Directory.cpp b/src/core/Directory.cpp index 046c999d..05344065 100644 --- a/src/core/Directory.cpp +++ b/src/core/Directory.cpp @@ -31,7 +31,7 @@ bool CDirectory::WriteDirFile(const char *filename) { int fd; - ssize_t n; + size_t n; fd = CFileMgr::OpenFileForWriting(filename); n = CFileMgr::Write(fd, (char*)entries, numEntries*sizeof(DirectoryInfo)); CFileMgr::CloseFile(fd); -- cgit v1.2.3