aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/ping/src/ping_client.cc4
-rw-r--r--apps/ping/src/ping_server.cc2
2 files changed, 4 insertions, 2 deletions
diff --git a/apps/ping/src/ping_client.cc b/apps/ping/src/ping_client.cc
index 747f4bd1b..6599b74cb 100644
--- a/apps/ping/src/ping_client.cc
+++ b/apps/ping/src/ping_client.cc
@@ -249,8 +249,8 @@ class Client : private interface::Portal::TransportCallback {
if (!config_->quiet_) std::cout << std::endl;
send_timestamps_[sequence_number] = utils::SteadyTime::now();
- for (int i = 0; i < config_->num_int_manifest_suffixes_ &&
- !traffic_generator_->hasFinished();
+ for (uint32_t i = 0; i < config_->num_int_manifest_suffixes_ &&
+ !traffic_generator_->hasFinished();
i++) {
uint32_t sequence_number = traffic_generator_->getSuffix();
diff --git a/apps/ping/src/ping_server.cc b/apps/ping/src/ping_server.cc
index b91b2c612..325ef675c 100644
--- a/apps/ping/src/ping_server.cc
+++ b/apps/ping/src/ping_server.cc
@@ -149,6 +149,8 @@ class CallbackContainer {
p.produce(*content_object);
} else { // Interest manifest
uint32_t _, *suffix = NULL;
+ UNUSED(_);
+
interest_manifest_foreach_suffix(interest.getIntManifestHeader(), suffix,
_) {
name.setSuffix(*suffix);