summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfsdir.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-14 19:17:03 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-14 19:17:03 +0300
commitec8845e596facf709d2a0ac19f518452b8382260 (patch)
tree0165d4965a103ed289c3ad202aa643605d688046 /src/fs/virtfs/virtfsdir.cpp
parent928103c5d9c716dbfe0ba2c8ea13b1426b3e768c (diff)
downloadmanaverse-ec8845e596facf709d2a0ac19f518452b8382260.tar.gz
manaverse-ec8845e596facf709d2a0ac19f518452b8382260.tar.bz2
manaverse-ec8845e596facf709d2a0ac19f518452b8382260.tar.xz
manaverse-ec8845e596facf709d2a0ac19f518452b8382260.zip
Fix code style.
Diffstat (limited to 'src/fs/virtfs/virtfsdir.cpp')
-rw-r--r--src/fs/virtfs/virtfsdir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/virtfs/virtfsdir.cpp b/src/fs/virtfs/virtfsdir.cpp
index 7f693b8ae..9eac0896b 100644
--- a/src/fs/virtfs/virtfsdir.cpp
+++ b/src/fs/virtfs/virtfsdir.cpp
@@ -493,7 +493,7 @@ namespace VirtFsDir
buffer[fileSize - 1] = 0;
#ifdef USE_FILE_FOPEN
- const int cnt = fread(buffer, 1, fileSize, fd);
+ const int cnt = CAST_S32(fread(buffer, 1, fileSize, fd));
#else // USE_FILE_FOPEN
const int cnt = ::read(fd, buffer, fileSize);
#endif // USE_FILE_FOPEN