summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.cpp')
-rw-r--r--xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.cpp b/xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.cpp
index 89b920825f..9833f2871e 100644
--- a/xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.cpp
+++ b/xfa/src/fxbarcode/datamatrix/BC_ErrorCorrection.cpp
@@ -163,7 +163,7 @@ CFX_WideString CBC_ErrorCorrection::createECCBlock(CFX_WideString codewords, int
return (FX_WCHAR*)"";
}
FX_WORD* ecc = FX_Alloc(FX_WORD, numECWords);
- FXSYS_memset32(ecc, 0, numECWords * sizeof(FX_WORD));
+ FXSYS_memset(ecc, 0, numECWords * sizeof(FX_WORD));
for (int32_t l = start; l < start + len; l++) {
uint8_t A = (uint8_t)codewords.GetAt(l);
FX_WORD B = ecc[numECWords - 1];