summaryrefslogtreecommitdiff
path: root/fxbarcode/oned/BC_OnedCodaBarWriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode/oned/BC_OnedCodaBarWriter.cpp')
-rw-r--r--fxbarcode/oned/BC_OnedCodaBarWriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fxbarcode/oned/BC_OnedCodaBarWriter.cpp b/fxbarcode/oned/BC_OnedCodaBarWriter.cpp
index 4c5ad67194..791904de5b 100644
--- a/fxbarcode/oned/BC_OnedCodaBarWriter.cpp
+++ b/fxbarcode/oned/BC_OnedCodaBarWriter.cpp
@@ -105,7 +105,7 @@ WideString CBC_OnedCodaBarWriter::FilterContents(
const WideStringView& contents) {
WideString filtercontents;
wchar_t ch;
- for (FX_STRSIZE index = 0; index < contents.GetLength(); index++) {
+ for (size_t index = 0; index < contents.GetLength(); index++) {
ch = contents[index];
if (ch > 175) {
index++;
@@ -136,7 +136,7 @@ uint8_t* CBC_OnedCodaBarWriter::EncodeImpl(const ByteString& contents,
uint8_t* result = FX_Alloc2D(uint8_t, m_iWideNarrRatio * 7, data.GetLength());
char ch;
int32_t position = 0;
- for (FX_STRSIZE index = 0; index < data.GetLength(); index++) {
+ for (size_t index = 0; index < data.GetLength(); index++) {
ch = data[index];
if (((ch >= 'a') && (ch <= 'z'))) {
ch = ch - 32;