15 lines
642 B
Diff
15 lines
642 B
Diff
diff --git a/fbreader/src/formats/doc/OleStorage.cpp b/fbreader/src/formats/doc/OleStorage.cpp
|
|
index 016f9fd..a7ab81a 100644
|
|
--- fbreader/src/formats/doc/OleStorage.cpp
|
|
+++ fbreader/src/formats/doc/OleStorage.cpp
|
|
@@ -59,7 +59,7 @@ bool OleStorage::init(shared_ptr<ZLInputStream> stream, std::size_t streamSize)
|
|
clear();
|
|
return false;
|
|
}
|
|
- static const char OLE_SIGN[] = {0xD0, 0xCF, 0x11, 0xE0, 0xA1, 0xB1, 0x1A, 0xE1, 0};
|
|
+ static const char OLE_SIGN[] = {(char)0xD0, (char)0xCF, (char)0x11, (char)0xE0, (char)0xA1, (char)0xB1, (char)0x1A, (char)0xE1, 0};
|
|
if (std::strncmp(oleBuf, OLE_SIGN, 8) != 0) {
|
|
clear();
|
|
return false;
|
|
|