diff options
Diffstat (limited to 'src/peerinfo')
-rw-r--r-- | src/peerinfo/gnunet-service-peerinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peerinfo/gnunet-service-peerinfo.c b/src/peerinfo/gnunet-service-peerinfo.c index 31ba3455e..ab0aad9d5 100644 --- a/src/peerinfo/gnunet-service-peerinfo.c +++ b/src/peerinfo/gnunet-service-peerinfo.c | |||
@@ -971,7 +971,7 @@ discard_hosts_helper (void *cls, | |||
971 | char *writebuffer; | 971 | char *writebuffer; |
972 | 972 | ||
973 | read_size = GNUNET_DISK_fn_read (fn, buffer, sizeof (buffer)); | 973 | read_size = GNUNET_DISK_fn_read (fn, buffer, sizeof (buffer)); |
974 | if (read_size < sizeof (struct GNUNET_MessageHeader)) | 974 | if (read_size < (int) sizeof (struct GNUNET_MessageHeader)) |
975 | { | 975 | { |
976 | if (0 != UNLINK (fn)) | 976 | if (0 != UNLINK (fn)) |
977 | GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_WARNING | | 977 | GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_WARNING | |