diff --git a/cpp/core/src/zxing/aztec/decoder/Decoder.cpp b/cpp/core/src/zxing/aztec/decoder/Decoder.cpp index 09b2fe9bd..2f2b3aba9 100644 --- a/cpp/core/src/zxing/aztec/decoder/Decoder.cpp +++ b/cpp/core/src/zxing/aztec/decoder/Decoder.cpp @@ -38,7 +38,7 @@ using zxing::Ref; using std::string; namespace { - void add(string& result, uint8_t character) { + void add(string& result, unsigned char character) { char s[] = { character & 0xff }; char* ss = s; size_t sl = sizeof(s); diff --git a/cpp/core/src/zxing/aztec/decoder/Decoder.h b/cpp/core/src/zxing/aztec/decoder/Decoder.h index a6f8d936c..e29801c69 100644 --- a/cpp/core/src/zxing/aztec/decoder/Decoder.h +++ b/cpp/core/src/zxing/aztec/decoder/Decoder.h @@ -21,7 +21,7 @@ #include #include -#include +#include #include namespace zxing { diff --git a/cpp/core/src/zxing/aztec/detector/Detector.cpp b/cpp/core/src/zxing/aztec/detector/Detector.cpp index 92bb55f5d..8d51ff773 100644 --- a/cpp/core/src/zxing/aztec/detector/Detector.cpp +++ b/cpp/core/src/zxing/aztec/detector/Detector.cpp @@ -380,19 +380,6 @@ Ref Detector::sampleGrid(Ref image, } void Detector::getParameters(Ref parameterData) { - - if (false) { - printf("getting parameters from: "); - for (int i = 0; i < (int)parameterData->getSize(); i++) { - if (parameterData->get(i)) { - printf("1"); - } else { - printf("0"); - } - } - printf("\n"); - } - nbLayers_ = 0; nbDataBlocks_ = 0;