summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/master_loader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dns/master_loader.cc')
-rw-r--r--src/lib/dns/master_loader.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dns/master_loader.cc b/src/lib/dns/master_loader.cc
index 80b1053432..94e12ac1bf 100644
--- a/src/lib/dns/master_loader.cc
+++ b/src/lib/dns/master_loader.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2012-2014 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC")
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
@@ -821,7 +821,7 @@ MasterLoader::MasterLoaderImpl::doGenerate() {
}
// Generate and add the records.
- for (int i = start; i <= stop; i += step) {
+ for (unsigned int i = start; i <= stop; i += step) {
// Get generated strings for LHS and RHS. LHS goes to form the
// name, RHS goes to form the RDATA of the RR.
const std::string generated_name = generateForIter(lhs, i);