libgimpbase, libgimpconfig: Fix some castings

This commit is contained in:
Bruno Lopes 2026-03-31 11:01:35 -03:00
parent 84c7274c70
commit b9ec00c334
2 changed files with 3 additions and 3 deletions

View file

@ -1085,7 +1085,7 @@ _gp_param_def_read (GIOChannel *channel,
gpointer user_data)
{
if (! _gimp_wire_read_int32 (channel,
&param_def->param_def_type, 1,
(guint32 *) &param_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,
&param_def->param_def_type, 1,
(const guint32 *) &param_def->param_def_type, 1,
user_data))
return FALSE;

View file

@ -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,