--- a/test/logging_tests.c Wed Feb 27 11:48:29 2013 +0100 +++ b/test/logging_tests.c Wed Feb 27 13:30:21 2013 +0100 @@ -16,7 +16,7 @@ ucx_logger_trace(logger, "dont log this!"); ucx_logger_error(logger, "error %d!", 42); fseek(stream, 0, SEEK_SET); - int r = fread(buffer, 1, 100, stream); + size_t r = fread(buffer, 1, 100, stream); size_t expected_length = 76; UCX_TEST_ASSERT(r == expected_length && strncmp(buffer,