From 4ab9034e1c57196a975a4a4c0ebbb91448eaeab5 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Sun, 22 Nov 2015 19:32:34 +0100 Subject: [PATCH 2/4] 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=120019 --- dbus/dbus-marshal-byteswap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus/dbus-marshal-byteswap.c b/dbus/dbus-marshal-byteswap.c index e6711be..985108a 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); } -- 1.8.4.5