summaryrefslogtreecommitdiff
path: root/dbus/dbus-address.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-address.c')
-rw-r--r--dbus/dbus-address.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbus/dbus-address.c b/dbus/dbus-address.c
index 90484dc1..f3d48d0a 100644
--- a/dbus/dbus-address.c
+++ b/dbus/dbus-address.c
@@ -104,15 +104,15 @@ dbus_bool_t
_dbus_address_append_escaped (DBusString *escaped,
const DBusString *unescaped)
{
- const char *p;
- const char *end;
+ const unsigned char *p;
+ const unsigned char *end;
dbus_bool_t ret;
int orig_len;
ret = FALSE;
orig_len = _dbus_string_get_length (escaped);
- p = _dbus_string_get_const_data (unescaped);
+ p = (const unsigned char *) _dbus_string_get_const_data (unescaped);
end = p + _dbus_string_get_length (unescaped);
while (p != end)
{