summaryrefslogtreecommitdiffstats
path: root/src/bin/perfdhcp/tests/perf_pkt6_unittest.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/tests/perf_pkt6_unittest.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/tests/perf_pkt6_unittest.cc')
-rw-r--r--src/bin/perfdhcp/tests/perf_pkt6_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/perfdhcp/tests/perf_pkt6_unittest.cc b/src/bin/perfdhcp/tests/perf_pkt6_unittest.cc
index 02c009ecc4..60c59749ac 100644
--- a/src/bin/perfdhcp/tests/perf_pkt6_unittest.cc
+++ b/src/bin/perfdhcp/tests/perf_pkt6_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2012 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
@@ -300,7 +300,7 @@ TEST_F(PerfPkt6Test, UnpackTransactionId) {
uint8_t data[100] = { 0 };
// Generate transaction id = 0x010203 and inject at offset = 50.
- for (int i = 50; i < 53; ++i) {
+ for (uint8_t i = 50; i < 53; ++i) {
data[i] = i - 49;
}
// Create packet and point out that transaction id is at offset 50.