diff options
Diffstat (limited to 'deps/icu-small/source/tools/toolutil/filestrm.cpp')
-rw-r--r-- | deps/icu-small/source/tools/toolutil/filestrm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/icu-small/source/tools/toolutil/filestrm.cpp b/deps/icu-small/source/tools/toolutil/filestrm.cpp index cfffa1b75d7..a170c7b0f29 100644 --- a/deps/icu-small/source/tools/toolutil/filestrm.cpp +++ b/deps/icu-small/source/tools/toolutil/filestrm.cpp @@ -104,14 +104,14 @@ T_FileStream_tmpfile() U_CAPI int32_t U_EXPORT2 T_FileStream_read(FileStream* fileStream, void* addr, int32_t len) { - return fread(addr, 1, len, (FILE*)fileStream); + return static_cast<int32_t>(fread(addr, 1, len, (FILE*)fileStream)); } U_CAPI int32_t U_EXPORT2 T_FileStream_write(FileStream* fileStream, const void* addr, int32_t len) { - return fwrite(addr, 1, len, (FILE*)fileStream); + return static_cast<int32_t>(fwrite(addr, 1, len, (FILE*)fileStream)); } U_CAPI void U_EXPORT2 |