libgimpbase, libgimpconfig: Fix some castings
This commit is contained in:
parent
84c7274c70
commit
b9ec00c334
2 changed files with 3 additions and 3 deletions
|
|
@ -1085,7 +1085,7 @@ _gp_param_def_read (GIOChannel *channel,
|
|||
gpointer user_data)
|
||||
{
|
||||
if (! _gimp_wire_read_int32 (channel,
|
||||
¶m_def->param_def_type, 1,
|
||||
(guint32 *) ¶m_def->param_def_type, 1,
|
||||
user_data))
|
||||
return FALSE;
|
||||
|
||||
|
|
@ -1470,7 +1470,7 @@ _gp_param_def_write (GIOChannel *channel,
|
|||
gpointer user_data)
|
||||
{
|
||||
if (! _gimp_wire_write_int32 (channel,
|
||||
¶m_def->param_def_type, 1,
|
||||
(const guint32 *) ¶m_def->param_def_type, 1,
|
||||
user_data))
|
||||
return FALSE;
|
||||
|
||||
|
|
|
|||
|
|
@ -407,7 +407,7 @@ gimp_file_show_in_file_manager (GFile *file,
|
|||
goto out;
|
||||
}
|
||||
|
||||
pidl = ILCreateFromPathW (w_filename);
|
||||
pidl = (ITEMIDLIST *) ILCreateFromPathW (w_filename);
|
||||
if (!pidl)
|
||||
{
|
||||
g_set_error_literal (error, G_FILE_ERROR, 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue