summaryrefslogtreecommitdiff
path: root/core/src/fpdftext/fpdf_text_int.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-07-27 14:38:43 -0700
committerTom Sepez <tsepez@chromium.org>2015-07-27 14:38:43 -0700
commita25b4bca69ab26d174edb8cefbdcfc1a0353915a (patch)
tree3de2d8bc8f09023c6a0747ed0fd89323c6158e35 /core/src/fpdftext/fpdf_text_int.cpp
parentfa69033db8803b191fa43f3c5bec65998d2dc2f9 (diff)
downloadpdfium-a25b4bca69ab26d174edb8cefbdcfc1a0353915a.tar.xz
Fix FX_BOOL compilation errors under windows
- Bool functions should not return -1 for error. - Bool variables should not be assigned 2 - Bool / int32_t prototypes should match. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1254973004 .
Diffstat (limited to 'core/src/fpdftext/fpdf_text_int.cpp')
-rw-r--r--core/src/fpdftext/fpdf_text_int.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/fpdftext/fpdf_text_int.cpp b/core/src/fpdftext/fpdf_text_int.cpp
index c1aaad8b5c..0e9c5ba0f4 100644
--- a/core/src/fpdftext/fpdf_text_int.cpp
+++ b/core/src/fpdftext/fpdf_text_int.cpp
@@ -712,7 +712,7 @@ int CPDF_TextPage::CountBoundedSegments(FX_FLOAT left, FX_FLOAT top, FX_FLOAT ri
FPDF_SEGMENT segment;
segment.m_Start = 0;
segment.m_nCount = 0;
- FX_BOOL segmentStatus = 0;
+ int segmentStatus = 0;
FX_BOOL IsContainPreChar = FALSE;
while (pos < nCount) {
PAGECHAR_INFO charinfo = *(PAGECHAR_INFO*)m_charList.GetAt(pos);