mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-07 05:08:00 +02:00
Fix warning: "pointer targets in passing argument 3 of 'pack_[248]_octets' differ in signedness [-Wpointer-sign]".
Bug: https://bugs.freedesktop.org/attachment.cgi?id=93069 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
parent
79b6a353eb
commit
9ef8f69ab0
1 changed files with 3 additions and 3 deletions
|
|
@ -208,7 +208,7 @@ set_2_octets (DBusString *str,
|
|||
|
||||
data = _dbus_string_get_data_len (str, offset, 2);
|
||||
|
||||
pack_2_octets (value, byte_order, data);
|
||||
pack_2_octets (value, byte_order, (unsigned char *) data);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -224,7 +224,7 @@ set_4_octets (DBusString *str,
|
|||
|
||||
data = _dbus_string_get_data_len (str, offset, 4);
|
||||
|
||||
pack_4_octets (value, byte_order, data);
|
||||
pack_4_octets (value, byte_order, (unsigned char *) data);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -240,7 +240,7 @@ set_8_octets (DBusString *str,
|
|||
|
||||
data = _dbus_string_get_data_len (str, offset, 8);
|
||||
|
||||
pack_8_octets (value, byte_order, data);
|
||||
pack_8_octets (value, byte_order, (unsigned char *) data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue