diff --git a/libgimpbase/gimpprotocol.c b/libgimpbase/gimpprotocol.c index 0d501cc919..e88fa43251 100644 --- a/libgimpbase/gimpprotocol.c +++ b/libgimpbase/gimpprotocol.c @@ -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; diff --git a/libgimpbase/gimputils.c b/libgimpbase/gimputils.c index 7c7847da91..b30a33b69c 100644 --- a/libgimpbase/gimputils.c +++ b/libgimpbase/gimputils.c @@ -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,