Fix more signedness issues in W32 backend

This commit is contained in:
Руслан Ижбулатов 2018-06-10 20:59:30 +00:00
parent cacdef8db7
commit 3acd26c64a
3 changed files with 3 additions and 3 deletions

View File

@ -2686,7 +2686,7 @@ _gdk_win32_transmute_contentformat (const gchar *from_contentformat,
const guchar *data,
gint length,
guchar **set_data,
gint *set_data_length)
gsize *set_data_length)
{
if ((from_contentformat == _gdk_win32_clipdrop_atom (GDK_WIN32_ATOM_INDEX_IMAGE_PNG) &&
to_w32format == _gdk_win32_clipdrop_cf (GDK_WIN32_CF_INDEX_PNG)) ||

View File

@ -254,7 +254,7 @@ gboolean _gdk_win32_transmute_contentformat (const gchar
const guchar *data,
gint length,
guchar **set_data,
gint *set_data_length);
gsize *set_data_length);
gboolean _gdk_win32_transmute_windows_data (UINT from_w32format,
const gchar *to_contentformat,

View File

@ -196,7 +196,7 @@ gdk_win32_hdata_output_stream_close (GOutputStream *output_stream,
if (priv->pair.transmute)
{
guchar *transmuted_data = NULL;
gint transmuted_data_length;
gsize transmuted_data_length;
if (priv->handle_is_buffer)
{