aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dht/gnunet_dht_profiler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dht/gnunet_dht_profiler.c b/src/dht/gnunet_dht_profiler.c
index 5e22ca60f..a729d1b01 100644
--- a/src/dht/gnunet_dht_profiler.c
+++ b/src/dht/gnunet_dht_profiler.c
@@ -752,7 +752,7 @@ dht_disconnect (void *cls,
752 switch (mode) 752 switch (mode)
753 { 753 {
754 case MODE_PUT: 754 case MODE_PUT:
755 if (n_puts_ok != n_active * num_puts_per_peer) 755 if (n_puts_ok != ((unsigned long long) n_active) * num_puts_per_peer)
756 return; 756 return;
757 /* Start GETs if all PUTs have been made */ 757 /* Start GETs if all PUTs have been made */
758 mode = MODE_GET; 758 mode = MODE_GET;