diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-08-06 11:19:35 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-08-06 11:19:35 +0200 |
commit | 05f9c9be238001b02f43ae4d790150ffeb68aefa (patch) | |
tree | 4fee1440d38ffef5244255baa7fb28ca295fda8a | |
parent | 3774c119e795ef3438e412d5c7427fc818cff34b (diff) |
avoid %llumingw
-rw-r--r-- | client/application.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client/application.cpp b/client/application.cpp index e986475..4a41043 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -2261,8 +2261,9 @@ void spice_log(unsigned int type, const char *function, const char *format, ...) va_end(ap); if (type >= log_level && log_file != NULL) { - fprintf(log_file, "%ld %s [%llu:%llu] %s: %s\n", (long)time(NULL), type_as_char[type], - (long long int)Platform::get_process_id(), (long long int)Platform::get_thread_id(), + fprintf(log_file, "%ld %s [%lu:%lu] %s: %s\n", (long)time(NULL), type_as_char[type], + (unsigned long)Platform::get_process_id(), + (unsigned long)Platform::get_thread_id(), function_to_func_name(function).c_str(), formated_message.c_str()); fflush(log_file); |