diff --git a/src/ccmain/paragraphs.cpp b/src/ccmain/paragraphs.cpp index 7d9eb979e1..beaf762714 100644 --- a/src/ccmain/paragraphs.cpp +++ b/src/ccmain/paragraphs.cpp @@ -51,9 +51,9 @@ namespace tesseract { // Special "weak" ParagraphModels. const ParagraphModel *kCrownLeft - = reinterpret_cast(0xDEAD111F); + = reinterpret_cast(static_cast(0xDEAD111F)); const ParagraphModel *kCrownRight - = reinterpret_cast(0xDEAD888F); + = reinterpret_cast(static_cast(0xDEAD888F)); // Do the text and geometry of two rows support a paragraph break between them? static bool LikelyParagraphStart(const RowScratchRegisters &before,