# HG changeset patch # User Mike Becker # Date 1406551446 -7200 # Node ID 05559c99010d51cf60c9207b6baf9a689a60c88b # Parent a48428642b4e8e7afe087ab363ddee1a96e8fa44 fixed logging tests for mingw diff -r a48428642b4e -r 05559c99010d test/logging_tests.c --- a/test/logging_tests.c Mon Jul 28 14:36:25 2014 +0200 +++ b/test/logging_tests.c Mon Jul 28 14:44:06 2014 +0200 @@ -85,8 +85,9 @@ logger->mask |= UCX_LOGGER_TIMESTAMP; time_t now = time(NULL); char timestr[13]; - strftime(timestr, 12, "%F:", localtime(&now)); - const uint line2 = __LINE__; ucx_logger_error(logger, "error %d!", 42); + strftime(timestr, 12, "%Y-%m-%d:", localtime(&now)); + 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);