mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
Merge branch 'fix_more_warnings' into 'master'
Fix more warnings See merge request GNOME/glib!2047
This commit is contained in:
commit
1afb4c0b96
@ -174,7 +174,7 @@ typedef struct
|
||||
gint monitor_deleted;
|
||||
gint monitor_changed;
|
||||
gchar *monitor_path;
|
||||
gint pos;
|
||||
gsize pos;
|
||||
const gchar *data;
|
||||
gchar *buffer;
|
||||
guint timeout;
|
||||
|
@ -225,7 +225,8 @@ static const GDBusInterfaceVTable interface_vtable =
|
||||
{
|
||||
handle_method_call,
|
||||
handle_get_property,
|
||||
handle_set_property
|
||||
handle_set_property,
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
static void
|
||||
|
@ -117,6 +117,7 @@ static const GDBusInterfaceVTable interface_vtable =
|
||||
handle_method_call,
|
||||
NULL,
|
||||
NULL,
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
/* ---------------------------------------------------------------------------------------------------- */
|
||||
|
@ -322,7 +322,7 @@ handle_method_call (GDBusConnection *connection,
|
||||
const guint64 *uint64s;
|
||||
const gdouble *doubles;
|
||||
gsize n_elts;
|
||||
gint i, j;
|
||||
gsize i, j;
|
||||
GVariantBuilder ret;
|
||||
|
||||
g_variant_builder_init (&ret, G_VARIANT_TYPE ("(ayabanaqaiauaxatad)"));
|
||||
@ -802,7 +802,8 @@ static const GDBusInterfaceVTable interface_vtable =
|
||||
{
|
||||
handle_method_call,
|
||||
handle_get_property,
|
||||
handle_set_property
|
||||
handle_set_property,
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
static void
|
||||
|
@ -2397,7 +2397,7 @@ strv_has_string (gchar **haystack,
|
||||
static gboolean
|
||||
strv_set_equal (gchar **strv, ...)
|
||||
{
|
||||
gint count;
|
||||
gsize count;
|
||||
va_list list;
|
||||
const gchar *str;
|
||||
gboolean res;
|
||||
|
@ -5,7 +5,7 @@
|
||||
static gboolean
|
||||
strv_equal (gchar **strv, ...)
|
||||
{
|
||||
gint count;
|
||||
gsize count;
|
||||
va_list list;
|
||||
const gchar *str;
|
||||
gboolean res;
|
||||
|
@ -842,8 +842,8 @@ do_echo_test (GSocketConnection *conn)
|
||||
GIOStream *iostream = G_IO_STREAM (conn);
|
||||
GInputStream *istream = g_io_stream_get_input_stream (iostream);
|
||||
GOutputStream *ostream = g_io_stream_get_output_stream (iostream);
|
||||
gssize nread, total;
|
||||
gsize nwrote;
|
||||
gssize nread;
|
||||
gsize nwrote, total;
|
||||
gchar buf[128];
|
||||
GError *error = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user