From: Ralf Habacker Date: Sun, 22 Nov 2015 18:32:34 +0000 (+0100) Subject: Fix warning: "pointer targets in passing argument 5 of 'byteswap_body_helper' differ... X-Git-Tag: dbus-1.11.0~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=048564bc14efb686d1d4982cbc28b3fc60e97cae;p=thirdparty%2Fdbus.git 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 --- diff --git a/dbus/dbus-marshal-byteswap.c b/dbus/dbus-marshal-byteswap.c index e6711be60..985108a46 100644 --- a/dbus/dbus-marshal-byteswap.c +++ b/dbus/dbus-marshal-byteswap.c @@ -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); }