Autotools compile fix.
authorRalf Habacker <ralf.habacker@freenet.de>
Sat, 4 Feb 2017 13:10:09 +0000 (14:10 +0100)
committerRalf Habacker <ralf.habacker@freenet.de>
Sat, 4 Feb 2017 13:10:46 +0000 (14:10 +0100)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99622

bus/bus.c

index b4d89ef..70f1d40 100644 (file)
--- a/bus/bus.c
+++ b/bus/bus.c
@@ -445,7 +445,7 @@ process_config_first_time_only (BusContext       *context,
                 }
               dbus_set_error (error, DBUS_ERROR_FAILED,
                               "Unsupported auth mechanism \"%s\" in bus config file detected. Supported mechanisms are \"%s\".",
-                              link->data,
+                              (char*)link->data,
                               _dbus_string_get_const_data (&list));
               _dbus_string_free (&list);
               goto failed;