[Top][All Lists]

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

[Qemu-devel] PATCH?: console.c warning

From: Pavel Janík
Subject: [Qemu-devel] PATCH?: console.c warning
Date: Tue, 14 Sep 2004 21:55:34 +0200
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]