mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
gdbus-codegen: Fix -Wconversion warning
https://bugzilla.gnome.org/show_bug.cgi?id=778581
This commit is contained in:
parent
442d64ba94
commit
79c08255be
@ -1710,8 +1710,8 @@ class CodeGenerator:
|
||||
' GVariantIter iter;\n'
|
||||
' GVariant *child;\n'
|
||||
' GValue *paramv;\n'
|
||||
' guint num_params;\n'
|
||||
' guint n;\n'
|
||||
' gsize num_params;\n'
|
||||
' gsize n;\n'
|
||||
' guint signal_id;\n');
|
||||
# Note: info could be NULL if we are talking to a newer version of the interface
|
||||
self.c.write(' info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_%s_interface_info.parent_struct, signal_name);\n'
|
||||
@ -2130,9 +2130,9 @@ class CodeGenerator:
|
||||
' GVariantIter iter;\n'
|
||||
' GVariant *child;\n'
|
||||
' GValue *paramv;\n'
|
||||
' guint num_params;\n'
|
||||
' gsize num_params;\n'
|
||||
' guint num_extra;\n'
|
||||
' guint n;\n'
|
||||
' gsize n;\n'
|
||||
' guint signal_id;\n'
|
||||
' GValue return_value = G_VALUE_INIT;\n'
|
||||
%(i.name_lower, i.camel_name, i.ns_upper, i.name_upper))
|
||||
|
Loading…
Reference in New Issue
Block a user