diff options
Diffstat (limited to 'src/lib/VSDMetaData.cpp')
-rw-r--r-- | src/lib/VSDMetaData.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/VSDMetaData.cpp b/src/lib/VSDMetaData.cpp index 7241b00..52b6575 100644 --- a/src/lib/VSDMetaData.cpp +++ b/src/lib/VSDMetaData.cpp @@ -307,7 +307,7 @@ bool libvisio::VSDMetaData::parseTimes(librevenge::RVNGInputStream *input) uint32_t firstDirSectorLocation = readU32(input); // Seek to the Root Directory Entry - size_t sectorSize = std::pow(2, sectorShift); + size_t sectorSize = static_cast<size_t>(std::pow(2.0, sectorShift)); input->seek((firstDirSectorLocation + 1) * sectorSize, librevenge::RVNG_SEEK_SET); // DirectoryEntryName: 64 bytes // DirectoryEntryNameLength: 2 bytes |