forked from AuroraMiddleware/gtk
Fix more signedness issues in W32 backend
This commit is contained in:
parent
cacdef8db7
commit
3acd26c64a
@ -2686,7 +2686,7 @@ _gdk_win32_transmute_contentformat (const gchar *from_contentformat,
|
|||||||
const guchar *data,
|
const guchar *data,
|
||||||
gint length,
|
gint length,
|
||||||
guchar **set_data,
|
guchar **set_data,
|
||||||
gint *set_data_length)
|
gsize *set_data_length)
|
||||||
{
|
{
|
||||||
if ((from_contentformat == _gdk_win32_clipdrop_atom (GDK_WIN32_ATOM_INDEX_IMAGE_PNG) &&
|
if ((from_contentformat == _gdk_win32_clipdrop_atom (GDK_WIN32_ATOM_INDEX_IMAGE_PNG) &&
|
||||||
to_w32format == _gdk_win32_clipdrop_cf (GDK_WIN32_CF_INDEX_PNG)) ||
|
to_w32format == _gdk_win32_clipdrop_cf (GDK_WIN32_CF_INDEX_PNG)) ||
|
||||||
|
@ -254,7 +254,7 @@ gboolean _gdk_win32_transmute_contentformat (const gchar
|
|||||||
const guchar *data,
|
const guchar *data,
|
||||||
gint length,
|
gint length,
|
||||||
guchar **set_data,
|
guchar **set_data,
|
||||||
gint *set_data_length);
|
gsize *set_data_length);
|
||||||
|
|
||||||
gboolean _gdk_win32_transmute_windows_data (UINT from_w32format,
|
gboolean _gdk_win32_transmute_windows_data (UINT from_w32format,
|
||||||
const gchar *to_contentformat,
|
const gchar *to_contentformat,
|
||||||
|
@ -196,7 +196,7 @@ gdk_win32_hdata_output_stream_close (GOutputStream *output_stream,
|
|||||||
if (priv->pair.transmute)
|
if (priv->pair.transmute)
|
||||||
{
|
{
|
||||||
guchar *transmuted_data = NULL;
|
guchar *transmuted_data = NULL;
|
||||||
gint transmuted_data_length;
|
gsize transmuted_data_length;
|
||||||
|
|
||||||
if (priv->handle_is_buffer)
|
if (priv->handle_is_buffer)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user