From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kl62J-0004ZG-Qr for qemu-devel@nongnu.org; Wed, 01 Oct 2008 14:02:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kl62H-0004Xy-1o for qemu-devel@nongnu.org; Wed, 01 Oct 2008 14:02:53 -0400 Received: from [199.232.76.173] (port=59059 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kl62G-0004Xu-O9 for qemu-devel@nongnu.org; Wed, 01 Oct 2008 14:02:52 -0400 Received: from savannah.gnu.org ([199.232.41.3]:58242 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kl62G-0005Wq-Ky for qemu-devel@nongnu.org; Wed, 01 Oct 2008 14:02:52 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1Kl62F-00017A-Nr for qemu-devel@nongnu.org; Wed, 01 Oct 2008 18:02:51 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1Kl62F-00016b-14 for qemu-devel@nongnu.org; Wed, 01 Oct 2008 18:02:51 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Wed, 01 Oct 2008 18:02:51 +0000 Subject: [Qemu-devel] [5373] Fix warning about incompatible types Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 5373 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5373 Author: blueswir1 Date: 2008-10-01 18:02:50 +0000 (Wed, 01 Oct 2008) Log Message: ----------- Fix warning about incompatible types Modified Paths: -------------- trunk/vl.c Modified: trunk/vl.c =================================================================== --- trunk/vl.c 2008-10-01 17:58:26 UTC (rev 5372) +++ trunk/vl.c 2008-10-01 18:02:50 UTC (rev 5373) @@ -6226,8 +6226,8 @@ qemu_file_put_notify(s->file); } -static int fd_put_buffer(void *opaque, const uint8_t *buf, - int64_t pos, int size) +static void fd_put_buffer(void *opaque, const uint8_t *buf, + int64_t pos, int size) { QEMUFileFD *s = opaque; ssize_t len; @@ -6243,8 +6243,6 @@ * a put notify */ if (len == -EAGAIN) qemu_set_fd_handler2(s->fd, NULL, NULL, fd_put_notify, s); - - return len; } static int fd_get_buffer(void *opaque, uint8_t *buf, int64_t pos, int size)