diff -r 05559c99010d -r 7d49f179cc25 test/logging_tests.c --- a/test/logging_tests.c Mon Jul 28 14:44:06 2014 +0200 +++ b/test/logging_tests.c Mon Jul 28 15:02:17 2014 +0200 @@ -75,10 +75,10 @@ UcxLogger *logger = ucx_logger_new(stream, UCX_LOGGER_INFO, UCX_LOGGER_SOURCE | UCX_LOGGER_LEVEL); - logger->dateformat = (char*) "%F:"; + logger->dateformat = (char*) "%Y-%m-%d:"; UCX_TEST_BEGIN - const uint line1 = __LINE__; ucx_logger_info(logger, "allright"); + const unsigned int line1 = __LINE__; ucx_logger_info(logger, "allright"); ucx_logger_trace(logger, "dont log this!"); @@ -86,8 +86,7 @@ time_t now = time(NULL); char timestr[13]; strftime(timestr, 12, "%Y-%m-%d:", localtime(&now)); - const unsigned int line2 = __LINE__; - ucx_logger_error(logger, "error %d!", 42); + const unsigned int line2 = __LINE__; ucx_logger_error(logger, "error %d!", 42); fseek(stream, 0, SEEK_SET); size_t r = fread(buffer, 1, 100, stream);