summaryrefslogtreecommitdiff
path: root/core/src/fpdfapi
diff options
context:
space:
mode:
authorBo Xu <bo_xu@foxitsoftware.com>2014-05-28 09:55:07 -0700
committerBo Xu <bo_xu@foxitsoftware.com>2014-05-28 09:55:07 -0700
commit17211aecc66bab2e7576b0d620499a315d6b68a7 (patch)
tree096200ec384d53a52e8b554ea1f0df06bec753ea /core/src/fpdfapi
parent6387aff0a543070a5bbeb78e24113b111dcf690f (diff)
downloadpdfium-17211aecc66bab2e7576b0d620499a315d6b68a7.tar.xz
Do not use FX_BOOL for int values.
BUG=none R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/300063015
Diffstat (limited to 'core/src/fpdfapi')
-rw-r--r--core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp b/core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp
index c395283fc3..23126365a0 100644
--- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp
+++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp
@@ -1,7 +1,7 @@
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-
+
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "../../../include/fpdfapi/fpdf_parser.h"
@@ -198,8 +198,8 @@ ICodec_ScanlineDecoder* FPDFAPI_CreateFaxDecoder(FX_LPCBYTE src_buf, FX_DWORD sr
FX_BOOL EndOfLine = FALSE;
FX_BOOL ByteAlign = FALSE;
FX_BOOL BlackIs1 = FALSE;
- FX_BOOL Columns = 1728;
- FX_BOOL Rows = 0;
+ int Columns = 1728;
+ int Rows = 0;
if (pParams) {
K = pParams->GetInteger(FX_BSTRC("K"));
EndOfLine = pParams->GetInteger(FX_BSTRC("EndOfLine"));