Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/xen/xenbus Change a cast to appease gcc4.5



details:   https://anonhg.NetBSD.org/src/rev/346895695b74
branches:  trunk
changeset: 767695:346895695b74
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Jul 27 23:11:23 2011 +0000

description:
Change a cast to appease gcc4.5

diffstat:

 sys/arch/xen/xenbus/xenbus_xs.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f1ac13af093a -r 346895695b74 sys/arch/xen/xenbus/xenbus_xs.c
--- a/sys/arch/xen/xenbus/xenbus_xs.c   Wed Jul 27 23:10:40 2011 +0000
+++ b/sys/arch/xen/xenbus/xenbus_xs.c   Wed Jul 27 23:11:23 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xenbus_xs.c,v 1.21 2011/07/17 20:54:49 joerg Exp $ */
+/* $NetBSD: xenbus_xs.c,v 1.22 2011/07/27 23:11:23 matt Exp $ */
 /******************************************************************************
  * xenbus_xs.c
  *
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xenbus_xs.c,v 1.21 2011/07/17 20:54:49 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xenbus_xs.c,v 1.22 2011/07/27 23:11:23 matt Exp $");
 
 #if 0
 #define DPRINTK(fmt, args...) \
@@ -740,7 +740,7 @@
                        SIMPLEQ_REMOVE_HEAD(&events_to_proces, msg_next);
                        msg->u.watch.handle->xbw_callback(
                                msg->u.watch.handle,
-                               (const char **)msg->u.watch.vec,
+                               (void *)msg->u.watch.vec,
                                msg->u.watch.vec_size);
                        free(msg->u.watch.vec, M_DEVBUF);
                        free(msg, M_DEVBUF);



Home | Main Index | Thread Index | Old Index