summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-09 15:09:56 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-09 15:12:17 +0200
commitf2de541f3a44913c69a1bd222587d0643ee33e49 (patch)
tree7012d1f69df16d1cf654247decd16b9cfa5530eb /src
parentb7cd1917589e6a607f5eb01b5f85f570f9ce2afb (diff)
-fix bit shift op
Diffstat (limited to 'src')
-rw-r--r--src/setu/gnunet-service-setu.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/setu/gnunet-service-setu.c b/src/setu/gnunet-service-setu.c
index b01b897d8..38027983a 100644
--- a/src/setu/gnunet-service-setu.c
+++ b/src/setu/gnunet-service-setu.c
@@ -2146,11 +2146,15 @@ send_ibf (struct Operation *op,
LOG (GNUNET_ERROR_TYPE_DEBUG,
"sending ibf of size %u\n",
- 1 << ibf_size);
+ (unsigned int) ibf_size);
{
char name[64];
- GNUNET_snprintf (name, sizeof(name), "# sent IBF (order %u)", ibf_size);
+
+ GNUNET_snprintf (name,
+ sizeof(name),
+ "# sent IBF (order %u)",
+ ibf_size);
GNUNET_STATISTICS_update (_GSS_statistics, name, 1, GNUNET_NO);
}