qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [4638] Fix compilation warning
@ 2008-06-01 12:49 Blue Swirl
  0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2008-06-01 12:49 UTC (permalink / raw)
  To: qemu-devel

Revision: 4638
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4638
Author:   blueswir1
Date:     2008-06-01 12:49:32 +0000 (Sun, 01 Jun 2008)

Log Message:
-----------
Fix compilation warning

Modified Paths:
--------------
    trunk/hw/esp.c

Modified: trunk/hw/esp.c
===================================================================
--- trunk/hw/esp.c	2008-05-31 16:33:53 UTC (rev 4637)
+++ trunk/hw/esp.c	2008-06-01 12:49:32 UTC (rev 4638)
@@ -577,7 +577,7 @@
 
     qemu_put_buffer(f, s->rregs, ESP_REGS);
     qemu_put_buffer(f, s->wregs, ESP_REGS);
-    qemu_put_be32s(f, &s->ti_size);
+    qemu_put_be32s(f, (uint32_t *)&s->ti_size);
     qemu_put_be32s(f, &s->ti_rptr);
     qemu_put_be32s(f, &s->ti_wptr);
     qemu_put_buffer(f, s->ti_buf, TI_BUFSZ);
@@ -599,7 +599,7 @@
 
     qemu_get_buffer(f, s->rregs, ESP_REGS);
     qemu_get_buffer(f, s->wregs, ESP_REGS);
-    qemu_get_be32s(f, &s->ti_size);
+    qemu_get_be32s(f, (uint32_t *)&s->ti_size);
     qemu_get_be32s(f, &s->ti_rptr);
     qemu_get_be32s(f, &s->ti_wptr);
     qemu_get_buffer(f, s->ti_buf, TI_BUFSZ);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-01 12:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-01 12:49 [Qemu-devel] [4638] Fix compilation warning Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).