summaryrefslogtreecommitdiffstats
path: root/src/bin/perfdhcp/pkt_transform.cc
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2015-05-18 13:30:12 +0200
committerFrancis Dupont <fdupont@isc.org>2015-05-18 13:30:12 +0200
commit71e3c3c92f967aafb5d913892eba57e0a4eb988d (patch)
treefae5647961548e2863ef76c1c2bfe6c11da4b776 /src/bin/perfdhcp/pkt_transform.cc
parent[3833] some signed for loop variables aka #3833 (diff)
downloadkea-71e3c3c92f967aafb5d913892eba57e0a4eb988d.tar.xz
kea-71e3c3c92f967aafb5d913892eba57e0a4eb988d.zip
[3833] fixed signed for variables in src/bin
Diffstat (limited to 'src/bin/perfdhcp/pkt_transform.cc')
-rw-r--r--src/bin/perfdhcp/pkt_transform.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/perfdhcp/pkt_transform.cc b/src/bin/perfdhcp/pkt_transform.cc
index 34f0dce904..92eb5f39f0 100644
--- a/src/bin/perfdhcp/pkt_transform.cc
+++ b/src/bin/perfdhcp/pkt_transform.cc
@@ -147,7 +147,7 @@ PktTransform::packOptions(const OptionBuffer& in_buffer,
// inject contents of temporary buffer to output buffer.
const uint8_t *buf_data =
static_cast<const uint8_t*>(buf.getData());
- for (int i = 0; i < buf.getLength(); ++i) {
+ for (size_t i = 0; i < buf.getLength(); ++i) {
out_buffer.writeUint8At(buf_data[i], offset + i);
}
}