summaryrefslogtreecommitdiff
path: root/fxbarcode/datamatrix/BC_ErrorCorrection.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode/datamatrix/BC_ErrorCorrection.h')
-rw-r--r--fxbarcode/datamatrix/BC_ErrorCorrection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fxbarcode/datamatrix/BC_ErrorCorrection.h b/fxbarcode/datamatrix/BC_ErrorCorrection.h
index 361b205ef4..ccb83f0b86 100644
--- a/fxbarcode/datamatrix/BC_ErrorCorrection.h
+++ b/fxbarcode/datamatrix/BC_ErrorCorrection.h
@@ -23,11 +23,11 @@ class CBC_ErrorCorrection {
int32_t& e);
private:
- static int32_t MODULO_VALUE;
+ static const int32_t MODULO_VALUE = 0x12D;
+
static int32_t LOG[256];
static int32_t ALOG[256];
- private:
static WideString createECCBlock(WideString codewords,
int32_t numECWords,
int32_t& e);