[glib] Use %lu format for DWORD
- From: Руслан Ижбулатов <ruslanizhb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Use %lu format for DWORD
- Date: Wed, 12 Jul 2017 19:46:58 +0000 (UTC)
commit c4b5702e08d97b1b1163c2022ad4c7d92bee140c
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date: Wed Jul 12 19:46:07 2017 +0000
Use %lu format for DWORD
glib/gmain.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gmain.c b/glib/gmain.c
index 41dd0f6..6566571 100644
--- a/glib/gmain.c
+++ b/glib/gmain.c
@@ -2714,7 +2714,7 @@ g_get_monotonic_time (void)
if (QueryPerformanceCounter (&ticks))
return (gint64)(ticks.QuadPart * g_monotonic_usec_per_tick);
- g_warning ("QueryPerformanceCounter Failed (%d)", GetLastError ());
+ g_warning ("QueryPerformanceCounter Failed (%lu)", GetLastError ());
g_monotonic_usec_per_tick = 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]