mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-04 23:40:17 +01:00
Fix warning: "pointer targets in passing argument 4 of 'marshal_len_followed_by_bytes' 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
db495bbcf3
commit
a804fd2dbc
1 changed files with 2 additions and 2 deletions
|
|
@ -760,7 +760,7 @@ marshal_string (DBusString *str,
|
|||
int *pos_after)
|
||||
{
|
||||
return marshal_len_followed_by_bytes (MARSHAL_AS_STRING,
|
||||
str, insert_at, value,
|
||||
str, insert_at, (const unsigned char *) value,
|
||||
strlen (value),
|
||||
byte_order, pos_after);
|
||||
}
|
||||
|
|
@ -772,7 +772,7 @@ marshal_signature (DBusString *str,
|
|||
int *pos_after)
|
||||
{
|
||||
return marshal_len_followed_by_bytes (MARSHAL_AS_SIGNATURE,
|
||||
str, insert_at, value,
|
||||
str, insert_at, (const unsigned char *) value,
|
||||
strlen (value),
|
||||
DBUS_COMPILER_BYTE_ORDER, /* irrelevant */
|
||||
pos_after);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue