diff options
-rw-r--r-- | gdk/win32/gdkdisplay-win32.c | 2 | ||||
-rw-r--r-- | gdk/win32/gdkevents-win32.c | 4 | ||||
-rw-r--r-- | gtk/gtkmountoperation-stub.c | 2 | ||||
-rw-r--r-- | gtk/gtkmountoperation.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/gdk/win32/gdkdisplay-win32.c b/gdk/win32/gdkdisplay-win32.c index 4976e77312..694d22ca6e 100644 --- a/gdk/win32/gdkdisplay-win32.c +++ b/gdk/win32/gdkdisplay-win32.c @@ -424,7 +424,7 @@ _clipboard_window_procedure (HWND hwnd, retval = inner_clipboard_window_procedure (hwnd, message, wparam, lparam); debug_indent -= 2; - GDK_NOTE (EVENTS, g_print (" => %I64d%s", (gint64) retval, (debug_indent == 0 ? "\n" : ""))); + GDK_NOTE (EVENTS, g_print (" => %" G_GINT64_FORMAT "%s", (gint64) retval, (debug_indent == 0 ? "\n" : ""))); return retval; } diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c index bb2af328a3..af40acfc43 100644 --- a/gdk/win32/gdkevents-win32.c +++ b/gdk/win32/gdkevents-win32.c @@ -287,7 +287,7 @@ _gdk_win32_window_procedure (HWND hwnd, retval = inner_window_procedure (hwnd, message, wparam, lparam); debug_indent -= 2; - GDK_NOTE (EVENTS, g_print (" => %I64d%s", (gint64) retval, (debug_indent == 0 ? "\n" : ""))); + GDK_NOTE (EVENTS, g_print (" => %" G_GINT64_FORMAT "%s", (gint64) retval, (debug_indent == 0 ? "\n" : ""))); return retval; } @@ -3268,7 +3268,7 @@ gdk_event_translate (MSG *msg, break; case WM_ACTIVATEAPP: - GDK_NOTE (EVENTS, g_print (" %s thread: %I64d", + GDK_NOTE (EVENTS, g_print (" %s thread: %" G_GINT64_FORMAT, msg->wParam ? "YES" : "NO", (gint64) msg->lParam)); if (msg->wParam && GDK_WINDOW_IS_MAPPED (window)) diff --git a/gtk/gtkmountoperation-stub.c b/gtk/gtkmountoperation-stub.c index 3811f0bf01..7307052c0a 100644 --- a/gtk/gtkmountoperation-stub.c +++ b/gtk/gtkmountoperation-stub.c @@ -60,7 +60,7 @@ _gtk_mount_operation_kill_process (GPid pid, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, _("Cannot kill process with PID %d. Operation is not implemented."), - pid); + (int) pid); return FALSE; } diff --git a/gtk/gtkmountoperation.c b/gtk/gtkmountoperation.c index 0ac9c2a7aa..89a0882f60 100644 --- a/gtk/gtkmountoperation.c +++ b/gtk/gtkmountoperation.c @@ -1088,7 +1088,7 @@ add_pid_to_process_list_store (GtkMountOperation *mount_operation, &pixbuf); if (name == NULL) - name = g_strdup_printf (_("Unknown Application (PID %d)"), pid); + name = g_strdup_printf (_("Unknown Application (PID %d)"), (int) pid); if (command_line == NULL) command_line = g_strdup (""); |