diff --git a/xsdconvert/SimpleType.cc b/xsdconvert/SimpleType.cc index ecf23da25f745cabdd6c1fbf87a2ad35db4b0b72..d7e8036ca5c8f1baf7ce4be1fa3c1a0f874458f7 100644 --- a/xsdconvert/SimpleType.cc +++ b/xsdconvert/SimpleType.cc @@ -1109,7 +1109,7 @@ void PatternType::applyFacet() // only for time types and string types without h { if (charclass == 0) { Mstring s; - int k = 1; + size_t k = 1; while (facet[i + k] != '}') { s += facet[i + k]; ++k; @@ -1195,7 +1195,7 @@ void PatternType::applyFacet() // only for time types and string types without h case '&': if (facet[i + 1] == '#') { // &#....; Mstring s; - int k = 2; + size_t k = 2; while (facet[i + k] != ';') { s += facet[i + k]; ++k;