All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel@Janik.cz (Pavel Janík)
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] PATCH?: console.c warning
Date: Tue, 14 Sep 2004 21:55:34 +0200	[thread overview]
Message-ID: <87vfegmxqh.fsf@Janik.cz> (raw)

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

                 reply	other threads:[~2004-09-14 20:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vfegmxqh.fsf@Janik.cz \
    --to=pavel@janik.cz \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.