summaryrefslogtreecommitdiffstats
path: root/src/core/Directory.cpp
diff options
context:
space:
mode:
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);