string_squash_nonprintable: correct signedness mismatch

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=93069
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
This commit is contained in:
Simon McVittie 2016-02-10 13:11:54 +00:00 committed by Ralf Habacker
parent 15868d2a39
commit 5d67d56f5f

View file

@ -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++)