summaryrefslogtreecommitdiff
path: root/fxbarcode/qrcode/BC_QRCoderVersion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode/qrcode/BC_QRCoderVersion.cpp')
-rw-r--r--fxbarcode/qrcode/BC_QRCoderVersion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxbarcode/qrcode/BC_QRCoderVersion.cpp b/fxbarcode/qrcode/BC_QRCoderVersion.cpp
index ff7cbc4007..f0b708dfc3 100644
--- a/fxbarcode/qrcode/BC_QRCoderVersion.cpp
+++ b/fxbarcode/qrcode/BC_QRCoderVersion.cpp
@@ -382,7 +382,7 @@ CBC_QRCoderVersion* CBC_QRCoderVersion::GetProvisionalVersionForDimension(
CBC_QRCoderVersion* CBC_QRCoderVersion::DecodeVersionInformation(
int32_t versionBits,
int32_t& e) {
- int32_t bestDifference = FXSYS_IntMax;
+ int32_t bestDifference = INT_MAX;
int32_t bestVersion = 0;
for (int32_t i = 0; i < 34; i++) {
int32_t targetVersion = VERSION_DECODE_INFO[i];