summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfx_barcode.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-10-27 13:10:24 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-27 13:10:24 -0700
commite93dbd6c18b8b58e5d6b4813052fafbc323e9692 (patch)
treefb1fdada3c0b2eb1d7d00eeee19e7870340f0f17 /xfa/fwl/core/cfx_barcode.cpp
parent5c15e67e12e245d102a2e0ef1b4ade54379f252c (diff)
downloadpdfium-e93dbd6c18b8b58e5d6b4813052fafbc323e9692.tar.xz
Fix some FX_BOOL / int noise in XFA barcodes
Review-Url: https://codereview.chromium.org/2447163007
Diffstat (limited to 'xfa/fwl/core/cfx_barcode.cpp')
-rw-r--r--xfa/fwl/core/cfx_barcode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fwl/core/cfx_barcode.cpp b/xfa/fwl/core/cfx_barcode.cpp
index 549f908229..f870833647 100644
--- a/xfa/fwl/core/cfx_barcode.cpp
+++ b/xfa/fwl/core/cfx_barcode.cpp
@@ -132,7 +132,7 @@ FX_BOOL CFX_Barcode::SetDataLength(int32_t length) {
return FALSE;
}
}
-FX_BOOL CFX_Barcode::SetCalChecksum(int32_t state) {
+FX_BOOL CFX_Barcode::SetCalChecksum(FX_BOOL state) {
switch (GetType()) {
case BC_CODE39:
case BC_CODABAR: