summaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
authorMiloslav Trmac <mitr@volny.cz>2003-06-28 22:56:27 +0000
committerMiloslav Trmac <mitr@volny.cz>2003-06-28 22:56:27 +0000
commit9e15a4f969e53a0fc3775fefeba7ac5ed7b5d0e6 (patch)
treedae0a162d7d04684eb347e07cf349a011b38d115 /dbus
parent6fba6839f5cb730791edcc48f1fa65a74f118a5b (diff)
2003-06-29 Miloslav Trmac <mitr@volny.cz>
* dbus/dbus-mainloop.c (_dbus_loop_remove_watch) (_dbus_loop_remove_timeout): Cast function pointers to (void *) for %p * configure.in: Add -D_POSIX_C_SOURCE=199309L -DBSD_SOURCE to CFLAGS and disable DBUS_USE_ATOMIC_INT_486 when --enable-ansi is used
Diffstat (limited to 'dbus')
-rw-r--r--dbus/dbus-mainloop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbus/dbus-mainloop.c b/dbus/dbus-mainloop.c
index 04c8f1de..51eb7b0d 100644
--- a/dbus/dbus-mainloop.c
+++ b/dbus/dbus-mainloop.c
@@ -282,7 +282,7 @@ _dbus_loop_remove_watch (DBusLoop *loop,
}
_dbus_warn ("could not find watch %p function %p data %p to remove\n",
- watch, function, data);
+ watch, (void *)function, data);
}
dbus_bool_t
@@ -336,7 +336,7 @@ _dbus_loop_remove_timeout (DBusLoop *loop,
}
_dbus_warn ("could not find timeout %p function %p data %p to remove\n",
- timeout, function, data);
+ timeout, (void *)function, data);
}
/* Convolutions from GLib, there really must be a better way