* [Qemu-devel] PATCH?: console.c warning
@ 2004-09-14 19:55 Pavel Janík
0 siblings, 0 replies; only message in thread
From: Pavel Janík @ 2004-09-14 19:55 UTC (permalink / raw)
To: qemu-devel
Hi,
why compiling console.c, I get:
/home/pavel/QEMU/qemu-cvs/console.c:707: warning: assignment from
incompatible pointer type
I solved it in my tree with this:
--- vl.h.~1.52.~ 2004-08-27 20:57:57.000000000 +0200
+++ vl.h 2004-09-14 21:52:45.184230080 +0200
@@ -188,7 +188,7 @@
IOCanRWHandler *fd_can_read,
IOReadHandler *fd_read, void *opaque);
IOEventHandler *chr_event;
- IOEventHandler *chr_send_event;
+ void (*chr_send_event) (struct CharDriverState *s, int event);
void *opaque;
} CharDriverState;
Is this correct solution?
--
Pavel Janík
You're right, this should be fixed. Do you happen to have a patch?
-- Rik van Riel in linux-kernel about VM bug
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-09-14 20:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-14 19:55 [Qemu-devel] PATCH?: console.c warning Pavel Janík
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.