diff options
-rw-r--r-- | shell/source/win32/shlxthandler/ooofilt/stream_helper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/shlxthandler/ooofilt/stream_helper.cxx b/shell/source/win32/shlxthandler/ooofilt/stream_helper.cxx index e4ace54674d8..1ce8dfb6e503 100644 --- a/shell/source/win32/shlxthandler/ooofilt/stream_helper.cxx +++ b/shell/source/win32/shlxthandler/ooofilt/stream_helper.cxx @@ -127,7 +127,7 @@ FileStream::~FileStream() unsigned long FileStream::sread (unsigned char *buf, unsigned long size) { if (file) - return fread(buf, 1, size, file); + return static_cast<unsigned long>(fread(buf, 1, size, file)); return 0; } |