qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [6351] Fix a warning in hw/blizzard.c
@ 2009-01-16 20:07 Aurelien Jarno
  2009-01-16 20:30 ` Anthony Liguori
  0 siblings, 1 reply; 2+ messages in thread
From: Aurelien Jarno @ 2009-01-16 20:07 UTC (permalink / raw)
  To: qemu-devel

Revision: 6351
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6351
Author:   aurel32
Date:     2009-01-16 20:07:19 +0000 (Fri, 16 Jan 2009)

Log Message:
-----------
Fix a warning in hw/blizzard.c

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

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

Modified: trunk/hw/blizzard.c
===================================================================
--- trunk/hw/blizzard.c	2009-01-16 19:51:14 UTC (rev 6350)
+++ trunk/hw/blizzard.c	2009-01-16 20:07:19 UTC (rev 6351)
@@ -939,7 +939,7 @@
 
     blizzard_update_display(opaque);
     if (s && ds_get_data(s->state))
-        ppm_save(filename, s->state);
+        ppm_save(filename, s->state->surface);
 }
 
 #define DEPTH 8

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [6351] Fix a warning in hw/blizzard.c
  2009-01-16 20:07 [Qemu-devel] [6351] Fix a warning in hw/blizzard.c Aurelien Jarno
@ 2009-01-16 20:30 ` Anthony Liguori
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony Liguori @ 2009-01-16 20:30 UTC (permalink / raw)
  To: qemu-devel

Aurelien Jarno wrote:
> Revision: 6351
>           http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6351
> Author:   aurel32
> Date:     2009-01-16 20:07:19 +0000 (Fri, 16 Jan 2009)
>
> Log Message:
> -----------
> Fix a warning in hw/blizzard.c
>
> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
>
> Modified Paths:
> --------------
>     trunk/hw/blizzard.c
>
> Modified: trunk/hw/blizzard.c
> ===================================================================
> --- trunk/hw/blizzard.c	2009-01-16 19:51:14 UTC (rev 6350)
> +++ trunk/hw/blizzard.c	2009-01-16 20:07:19 UTC (rev 6351)
> @@ -939,7 +939,7 @@
>  
>      blizzard_update_display(opaque);
>      if (s && ds_get_data(s->state))
> -        ppm_save(filename, s->state);
> +        ppm_save(filename, s->state->surface);
>   

Good catch.

Regards,

Anthony Liguori

>  }
>  
>  #define DEPTH 8
>
>
>
>
>   

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-16 20:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-16 20:07 [Qemu-devel] [6351] Fix a warning in hw/blizzard.c Aurelien Jarno
2009-01-16 20:30 ` Anthony Liguori

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).