From 725dfaef9228db48c3ecdf19e9dd8cb20014cefb Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Sun, 22 Nov 2015 17:00:51 +0100 Subject: [PATCH] Fix 'warning: pointer targets in assignment differ in signedness [-Wpointer-sign]'. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=93069 --- dbus/dbus-marshal-header.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbus/dbus-marshal-header.c b/dbus/dbus-marshal-header.c index 48151c6..73a6152 100644 --- a/dbus/dbus-marshal-header.c +++ b/dbus/dbus-marshal-header.c @@ -1458,7 +1458,7 @@ _dbus_header_toggle_flag (DBusHeader *header, dbus_uint32_t flag, dbus_bool_t value) { - unsigned char *flags_p; + char *flags_p; flags_p = _dbus_string_get_data_len (&header->data, FLAGS_OFFSET, 1); @@ -1479,7 +1479,7 @@ dbus_bool_t _dbus_header_get_flag (DBusHeader *header, dbus_uint32_t flag) { - const unsigned char *flags_p; + const char *flags_p; flags_p = _dbus_string_get_const_data_len (&header->data, FLAGS_OFFSET, 1); -- 1.8.4.5