From: joncruz Date: Fri, 11 May 2007 18:00:10 +0000 (+0000) Subject: Fixing compile warnings X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=073bb00716d54ed8507757ccf777a668e7da17b0;p=inkscape.git Fixing compile warnings --- diff --git a/src/debug/timestamp.cpp b/src/debug/timestamp.cpp index 1c6269756..8814f37ad 100644 --- a/src/debug/timestamp.cpp +++ b/src/debug/timestamp.cpp @@ -23,7 +23,7 @@ Util::ptr_shared timestamp() { Util::ptr_shared result; GTimeVal timestamp; g_get_current_time(×tamp); - gchar *value = g_strdup_printf("%d.%06d", timestamp.tv_sec, timestamp.tv_usec); + gchar *value = g_strdup_printf( "%d.%06d", static_cast(timestamp.tv_sec), static_cast(timestamp.tv_usec) ); result = Util::share_string(value); g_free(value); return result;