Commit 78320123 authored by Paul Eggert's avatar Paul Eggert

* dbusbind.c (Fdbus_init_bus): Add cast to avoid warning

if GCC considers string literals to be constants.
parent 59d6fe83
......@@ -7,6 +7,9 @@
(Fdbus_send_signal, xd_read_message_1, Fdbus_register_service):
(Fdbus_register_signal): Use SSDATA when the context wants char *.
* dbusbind.c (Fdbus_init_bus): Add cast to avoid warning
if GCC considers string literals to be constants.
2011-03-13 Chong Yidong <cyd@stupidchicken.com>
* buffer.h (BUF_BEGV, BUF_BEGV_BYTE, BUF_ZV, BUF_ZV_BYTE, BUF_PT)
......@@ -936,7 +936,7 @@ DEFUN ("dbus-init-bus", Fdbus_init_bus, Sdbus_init_bus, 1, 1, 0,
Vdbus_registered_buses = Fcons (bus, Vdbus_registered_buses);
/* We do not want to abort. */
putenv ("DBUS_FATAL_WARNINGS=0");
putenv ((char *) "DBUS_FATAL_WARNINGS=0");
/* Return. */
return Qnil;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment