Fix warning: "pointer targets in passing argument 5 of 'byteswap_body_helper' 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:
Ralf Habacker 2015-11-22 19:32:34 +01:00
parent 8dd04cb4b2
commit 048564bc14

View file

@ -239,7 +239,7 @@ _dbus_marshal_byteswap (const DBusString *signature,
byteswap_body_helper (&reader, TRUE,
old_byte_order, new_byte_order,
_dbus_string_get_data_len (value_str, value_pos, 0),
(unsigned char *) _dbus_string_get_data_len (value_str, value_pos, 0),
NULL);
}