From 1223cb42d1d1f2395603e4b899f80f826ff2aa1f Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Sun, 22 Nov 2015 20:56:05 +0100 Subject: [PATCH 5/7] 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=120024 --- dbus/dbus-marshal-basic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbus/dbus-marshal-basic.c b/dbus/dbus-marshal-basic.c index cdef2cb..601d4ec 100644 --- a/dbus/dbus-marshal-basic.c +++ b/dbus/dbus-marshal-basic.c @@ -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, (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, (unsigned char *) value, strlen (value), DBUS_COMPILER_BYTE_ORDER, /* irrelevant */ pos_after); -- 1.8.4.5