diff options
Diffstat (limited to 'src/util/bio.c')
-rw-r--r-- | src/util/bio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/bio.c b/src/util/bio.c index 39050bb87..43a2abc89 100644 --- a/src/util/bio.c +++ b/src/util/bio.c | |||
@@ -356,10 +356,10 @@ GNUNET_BIO_read_string (struct GNUNET_BIO_ReadHandle *h, | |||
356 | if (big > max_length) | 356 | if (big > max_length) |
357 | { | 357 | { |
358 | GNUNET_asprintf (&h->emsg, | 358 | GNUNET_asprintf (&h->emsg, |
359 | _ ("String `%s' longer than allowed (%u > %u)"), | 359 | _ ("String `%s' longer than allowed (%u > %lu)"), |
360 | what, | 360 | what, |
361 | big, | 361 | big, |
362 | max_length); | 362 | (unsigned long) max_length); |
363 | return GNUNET_SYSERR; | 363 | return GNUNET_SYSERR; |
364 | } | 364 | } |
365 | buf = GNUNET_malloc (big); | 365 | buf = GNUNET_malloc (big); |