Skip to contentSkip to conversation

[6351] Fix a warning in hw/blizzard.c

Qemu-devel Aurelien Jarno 2 participants 2 messages Jan 16, 2009

lore
Share & tools
lore
#0 lore raw

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

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

Modified: trunk/hw/blizzard.c
===================================================================

hw/blizzard.c +1 -1
@@ -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
#1 lore raw
Quoted 20 lines · Aurelien Jarno

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

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

Modified: trunk/hw/blizzard.c
===================================================================

hw/blizzard.c line 943

Quoted 6 lines
hw/blizzard.c +1 -1
@@ -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

Quoted 8 lines
hw/blizzard.c +0 -0
 }
 

#define DEPTH 8