From 17211aecc66bab2e7576b0d620499a315d6b68a7 Mon Sep 17 00:00:00 2001 From: Bo Xu Date: Wed, 28 May 2014 09:55:07 -0700 Subject: Do not use FX_BOOL for int values. BUG=none R=bo_xu@foxitsoftware.com Review URL: https://codereview.chromium.org/300063015 --- core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp | 6 +++--- 1 file 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")); -- cgit v1.2.3