summaryrefslogtreecommitdiffstats
path: root/src/lccnvalidator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lccnvalidator.cpp')
-rw-r--r--src/lccnvalidator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lccnvalidator.cpp b/src/lccnvalidator.cpp
index cf0e850..b177d55 100644
--- a/src/lccnvalidator.cpp
+++ b/src/lccnvalidator.cpp
@@ -65,7 +65,7 @@ TQString LCCNValidator::formalize(const TQString& value_) {
// now check for non digits in the serial
pos = 0;
- for( ; pos < serial.length() && serial.at(pos).isNumber(); ++pos) { ; }
+ for( ; pos < static_cast<int>(serial.length()) && serial.at(pos).isNumber(); ++pos) { ; }
TQString suffix = serial.mid(pos);
serial = serial.left(pos);
// serial must be left-padded with zeros to 6 characters