diff --git a/gtk/gtkmountoperation-stub.c b/gtk/gtkmountoperation-stub.c index 27b09ae7f..58f55debc 100644 --- a/gtk/gtkmountoperation-stub.c +++ b/gtk/gtkmountoperation-stub.c @@ -62,7 +62,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) (gssize) pid); return FALSE; } diff --git a/gtk/gtkmountoperation.c b/gtk/gtkmountoperation.c index cf182c476..b9c06b72b 100644 --- a/gtk/gtkmountoperation.c +++ b/gtk/gtkmountoperation.c @@ -879,7 +879,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) (gssize) pid); if (command_line == NULL) command_line = g_strdup ("");