From f467e784e2600a71ed215ebe1c38cb4f3a9779e3 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 10 Feb 2016 13:11:54 +0000 Subject: [PATCH 5/7] string_squash_nonprintable: correct signedness mismatch Bug: https://bugs.freedesktop.org/show_bug.cgi?id=93069 Signed-off-by: Simon McVittie --- dbus/dbus-sysdeps-util-unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus/dbus-sysdeps-util-unix.c b/dbus/dbus-sysdeps-util-unix.c index 9d22069..1f9ddb9 100644 --- a/dbus/dbus-sysdeps-util-unix.c +++ b/dbus/dbus-sysdeps-util-unix.c @@ -1177,7 +1177,7 @@ string_squash_nonprintable (DBusString *str) unsigned char *buf; int i, len; - buf = _dbus_string_get_data (str); + buf = _dbus_string_get_udata (str); len = _dbus_string_get_length (str); for (i = 0; i < len; i++) -- 2.7.0