From 2c97db59cc7209b7534204ef097166bf03781249 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Sun, 22 Nov 2015 20:52:57 +0100 Subject: [PATCH 2/7] Fix warning: "pointer targets in passing argument 3 of 'pack_[248]_octets' differ in signedness [-Wpointer-sign]". Bug: https://bugs.freedesktop.org/attachment.cgi?id=120024 --- dbus/dbus-marshal-basic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dbus/dbus-marshal-basic.c b/dbus/dbus-marshal-basic.c index 96d02c0..cdef2cb 100644 --- a/dbus/dbus-marshal-basic.c +++ b/dbus/dbus-marshal-basic.c @@ -208,7 +208,7 @@ set_2_octets (DBusString *str, data = _dbus_string_get_data_len (str, offset, 2); - pack_2_octets (value, byte_order, data); + pack_2_octets (value, byte_order, (unsigned char *) data); } static void @@ -224,7 +224,7 @@ set_4_octets (DBusString *str, data = _dbus_string_get_data_len (str, offset, 4); - pack_4_octets (value, byte_order, data); + pack_4_octets (value, byte_order, (unsigned char *) data); } static void @@ -240,7 +240,7 @@ set_8_octets (DBusString *str, data = _dbus_string_get_data_len (str, offset, 8); - pack_8_octets (value, byte_order, data); + pack_8_octets (value, byte_order, (unsigned char *) data); } /** -- 1.8.4.5