diff options
Diffstat (limited to 'src/rps/rps-test_util.c')
-rw-r--r-- | src/rps/rps-test_util.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/rps/rps-test_util.c b/src/rps/rps-test_util.c index b73be3457..497225973 100644 --- a/src/rps/rps-test_util.c +++ b/src/rps/rps-test_util.c | |||
@@ -186,9 +186,9 @@ to_file_raw (const char *file_name, const char *buf, size_t size_buf) | |||
186 | if (size_buf != size_written) | 186 | if (size_buf != size_written) |
187 | { | 187 | { |
188 | LOG (GNUNET_ERROR_TYPE_WARNING, | 188 | LOG (GNUNET_ERROR_TYPE_WARNING, |
189 | "Unable to write to file! (Size: %zu, size_written: %zu)\n", | 189 | "Unable to write to file! (Size: %llu, size_written: %llu)\n", |
190 | size_buf, | 190 | (unsigned long long) size_buf, |
191 | size_written); | 191 | (unsigned long long) size_written); |
192 | 192 | ||
193 | if (GNUNET_YES != GNUNET_DISK_file_close (f)) | 193 | if (GNUNET_YES != GNUNET_DISK_file_close (f)) |
194 | LOG (GNUNET_ERROR_TYPE_WARNING, | 194 | LOG (GNUNET_ERROR_TYPE_WARNING, |
@@ -197,8 +197,8 @@ to_file_raw (const char *file_name, const char *buf, size_t size_buf) | |||
197 | return; | 197 | return; |
198 | } | 198 | } |
199 | LOG (GNUNET_ERROR_TYPE_WARNING, | 199 | LOG (GNUNET_ERROR_TYPE_WARNING, |
200 | "Wrote %zu bytes raw.\n", | 200 | "Wrote %llu bytes raw.\n", |
201 | size_written); | 201 | (unsigned long long) size_written); |
202 | if (GNUNET_YES != GNUNET_DISK_file_close (f)) | 202 | if (GNUNET_YES != GNUNET_DISK_file_close (f)) |
203 | LOG (GNUNET_ERROR_TYPE_WARNING, | 203 | LOG (GNUNET_ERROR_TYPE_WARNING, |
204 | "Unable to close file\n"); | 204 | "Unable to close file\n"); |
@@ -238,8 +238,8 @@ to_file_raw_unaligned (const char *file_name, | |||
238 | "num_bits_buf_unaligned: %u\n", | 238 | "num_bits_buf_unaligned: %u\n", |
239 | num_bits_buf_unaligned); | 239 | num_bits_buf_unaligned); |
240 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 240 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
241 | "ua args: size_buf: %zu, bits_needed: %u -> iter: %u\n", | 241 | "ua args: size_buf: %llu, bits_needed: %u -> iter: %u\n", |
242 | size_buf, | 242 | (unsigned long long) size_buf, |
243 | bits_needed, | 243 | bits_needed, |
244 | bytes_iter); | 244 | bytes_iter); |
245 | buf_write[0] = buf_unaligned; | 245 | buf_write[0] = buf_unaligned; |