Commit 573f51cb authored by Benjamin Otte's avatar Benjamin Otte Committed by Benjamin Otte

mountoperation: Silence gcc

Also, printf()ing a GPid should be forbidden.
parent 1d980192
......@@ -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."),
(int) pid);
(int) (gssize) pid);
return FALSE;
}
......@@ -1090,7 +1090,7 @@ add_pid_to_process_list_store (GtkMountOperation *mount_operation,
&pixbuf);
if (name == NULL)
name = g_strdup_printf (_("Unknown Application (PID %d)"), (int) pid);
name = g_strdup_printf (_("Unknown Application (PID %d)"), (int) (gssize) pid);
if (command_line == NULL)
command_line = g_strdup ("");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment