mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-01 02:08:03 +02:00
Fix warning: "pointer targets in passing argument 2 of '_dbus_unpack_uint32' differ in signedness [-Wpointer-sign]".
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=93069 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
parent
d2b8b8611e
commit
5feb0223a2
1 changed files with 2 additions and 2 deletions
|
|
@ -296,7 +296,7 @@ set_string (DBusString *str,
|
|||
|
||||
_dbus_assert (_DBUS_ALIGN_VALUE (pos, 4) == (unsigned) pos);
|
||||
old_len = _dbus_unpack_uint32 (byte_order,
|
||||
_dbus_string_get_const_data_len (str, pos, 4));
|
||||
_dbus_string_get_const_udata_len (str, pos, 4));
|
||||
|
||||
new_len = _dbus_string_get_length (&dstr);
|
||||
|
||||
|
|
@ -468,7 +468,7 @@ _dbus_marshal_read_uint32 (const DBusString *str,
|
|||
_dbus_assert (pos + 4 <= _dbus_string_get_length (str));
|
||||
|
||||
return _dbus_unpack_uint32 (byte_order,
|
||||
_dbus_string_get_const_data (str) + pos);
|
||||
_dbus_string_get_const_udata (str) + pos);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue