diff options
Diffstat (limited to 'src/util/dnsstub.c')
-rw-r--r-- | src/util/dnsstub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/dnsstub.c b/src/util/dnsstub.c index 8b5b20f3c..5b84e6e63 100644 --- a/src/util/dnsstub.c +++ b/src/util/dnsstub.c | |||
@@ -354,7 +354,7 @@ do_dns_read (struct GNUNET_DNSSTUB_RequestSocket *rs, | |||
354 | "Received DNS response from server we never asked (ignored)"); | 354 | "Received DNS response from server we never asked (ignored)"); |
355 | return GNUNET_NO; | 355 | return GNUNET_NO; |
356 | } | 356 | } |
357 | if (sizeof (struct GNUNET_TUN_DnsHeader) > r) | 357 | if (sizeof (struct GNUNET_TUN_DnsHeader) > (size_t) r) |
358 | { | 358 | { |
359 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 359 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
360 | _("Received DNS response that is too small (%u bytes)"), | 360 | _("Received DNS response that is too small (%u bytes)"), |