gst/nsf/: Fix some things the Forte compiler warns about (#362626).
authorJosep Torra Valles <josep@fluendo.com>
Tue, 17 Oct 2006 11:04:14 +0000 (11:04 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 17 Oct 2006 11:04:14 +0000 (11:04 +0000)
Original commit message from CVS:
Patch by: Josep Torra Valles  <josep at fluendo com>
* gst/nsf/fds_snd.c:
* gst/nsf/mmc5_snd.c:
* gst/nsf/nsf.c:
* gst/nsf/vrc7_snd.c:
* gst/nsf/vrcvisnd.c:
Fix some things the Forte compiler warns about (#362626).

ChangeLog
gst/nsf/fds_snd.c
gst/nsf/mmc5_snd.c
gst/nsf/nsf.c
gst/nsf/vrc7_snd.c
gst/nsf/vrcvisnd.c

index 8dcbcb2..cadaf16 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
 
+       Patch by: Josep Torra Valles  <josep at fluendo com>
+
+       * gst/nsf/fds_snd.c:
+       * gst/nsf/mmc5_snd.c:
+       * gst/nsf/nsf.c:
+       * gst/nsf/vrc7_snd.c:
+       * gst/nsf/vrcvisnd.c:
+         Fix some things the Forte compiler warns about (#362626).
+
+2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
+
        * gst/qtdemux/qtdemux.c: (qtdemux_parse_moov), (qtdemux_parse),
        (qtdemux_node_dump_foreach), (qtdemux_dump_mvhd),
        (qtdemux_dump_tkhd), (qtdemux_dump_elst), (qtdemux_dump_mdhd),
index d2cfccb..6ad0d4e 100644 (file)
@@ -23,6 +23,7 @@
 ** $Id$
 */
 
+#include <stdio.h>
 #include "types.h"
 #include "nes_apu.h"
 #include "fds_snd.h"
@@ -66,7 +67,7 @@ fds_shutdown (void)
 
 static apu_memwrite fds_memwrite[] = {
   {0x4040, 0x4092, fds_write},
-  {-1, -1, NULL}
+  {(uint32) - 1, (uint32) - 1, NULL}
 };
 
 apuext_t fds_ext = {
@@ -80,6 +81,15 @@ apuext_t fds_ext = {
 
 /*
 ** $Log$
+** Revision 1.2  2006/10/17 11:04:14  tpm
+** Patch by: Josep Torra Valles  <josep at fluendo com>
+** * gst/nsf/fds_snd.c:
+** * gst/nsf/mmc5_snd.c:
+** * gst/nsf/nsf.c:
+** * gst/nsf/vrc7_snd.c:
+** * gst/nsf/vrcvisnd.c:
+** Fix some things the Forte compiler warns about (#362626).
+**
 ** Revision 1.1  2006/07/13 15:07:28  wtay
 ** Based on patches by: Johan Dahlin <johan at gnome dot org>
 ** Ronald Bultje <rbultje at ronald dot bitfreak dot net>
index 7c39af4..4998443 100644 (file)
@@ -310,13 +310,13 @@ mmc5_shutdown (void)
 
 static apu_memread mmc5_memread[] = {
   {0x5205, 0x5206, mmc5_read},
-  {-1, -1, NULL}
+  {(uint32) - 1, (uint32) - 1, NULL}
 };
 
 static apu_memwrite mmc5_memwrite[] = {
   {0x5000, 0x5015, mmc5_write},
   {0x5205, 0x5206, mmc5_write},
-  {-1, -1, NULL}
+  {(uint32) - 1, (uint32) - 1, NULL}
 };
 
 apuext_t mmc5_ext = {
@@ -330,6 +330,15 @@ apuext_t mmc5_ext = {
 
 /*
 ** $Log$
+** Revision 1.2  2006/10/17 11:04:14  tpm
+** Patch by: Josep Torra Valles  <josep at fluendo com>
+** * gst/nsf/fds_snd.c:
+** * gst/nsf/mmc5_snd.c:
+** * gst/nsf/nsf.c:
+** * gst/nsf/vrc7_snd.c:
+** * gst/nsf/vrcvisnd.c:
+** Fix some things the Forte compiler warns about (#362626).
+**
 ** Revision 1.1  2006/07/13 15:07:28  wtay
 ** Based on patches by: Johan Dahlin <johan at gnome dot org>
 ** Ronald Bultje <rbultje at ronald dot bitfreak dot net>
index aae9bc8..6fd34bb 100644 (file)
@@ -79,14 +79,14 @@ nsf_bankswitch (uint32 address, uint8 value)
 static nes6502_memread default_readhandler[] = {
   {0x0800, 0x1FFF, read_mirrored_ram},
   {0x4000, 0x4017, apu_read},
-  {-1, -1, NULL}
+  {(uint32) - 1, (uint32) - 1, NULL}
 };
 
 static nes6502_memwrite default_writehandler[] = {
   {0x0800, 0x1FFF, write_mirrored_ram},
   {0x4000, 0x4017, apu_write},
   {0x5FF6, 0x5FFF, nsf_bankswitch},
-  {-1, -1, NULL}
+  {(uint32) - 1, (uint32) - 1, NULL}
 };
 
 static uint8
@@ -585,6 +585,15 @@ nsf_setfilter (nsf_t * nsf, int filter_type)
 
 /*
 ** $Log$
+** Revision 1.4  2006/10/17 11:04:14  tpm
+** Patch by: Josep Torra Valles  <josep at fluendo com>
+** * gst/nsf/fds_snd.c:
+** * gst/nsf/mmc5_snd.c:
+** * gst/nsf/nsf.c:
+** * gst/nsf/vrc7_snd.c:
+** * gst/nsf/vrcvisnd.c:
+** Fix some things the Forte compiler warns about (#362626).
+**
 ** Revision 1.3  2006/07/19 11:43:50  tpm
 ** * gst/nsf/nsf.c: (nsf_load):
 ** Really fix compilation. Apparently it's not enough to
index 07d2751..3dafb85 100644 (file)
@@ -312,7 +312,7 @@ vrc7_process (void)
 static apu_memwrite vrc7_memwrite[] = {
   {0x9010, 0x9010, vrc7_write},
   {0x9030, 0x9030, vrc7_write},
-  {-1, -1, NULL}
+  {(uint32) - 1, (uint32) - 1, NULL}
 };
 
 apuext_t vrc7_ext = {
@@ -326,6 +326,15 @@ apuext_t vrc7_ext = {
 
 /*
 ** $Log$
+** Revision 1.2  2006/10/17 11:04:14  tpm
+** Patch by: Josep Torra Valles  <josep at fluendo com>
+** * gst/nsf/fds_snd.c:
+** * gst/nsf/mmc5_snd.c:
+** * gst/nsf/nsf.c:
+** * gst/nsf/vrc7_snd.c:
+** * gst/nsf/vrcvisnd.c:
+** Fix some things the Forte compiler warns about (#362626).
+**
 ** Revision 1.1  2006/07/13 15:07:28  wtay
 ** Based on patches by: Johan Dahlin <johan at gnome dot org>
 ** Ronald Bultje <rbultje at ronald dot bitfreak dot net>
index e6b5eb3..e9652b5 100644 (file)
@@ -23,6 +23,7 @@
 ** $Id$
 */
 
+#include <stdio.h>
 #include "types.h"
 #include "vrcvisnd.h"
 #include "nes_apu.h"
@@ -174,7 +175,7 @@ static apu_memwrite vrcvi_memwrite[] = {
   {0x9000, 0x9002, vrcvi_write},        /* vrc6 */
   {0xA000, 0xA002, vrcvi_write},
   {0xB000, 0xB002, vrcvi_write},
-  {-1, -1, NULL}
+  {(uint32) - 1, (uint32) - 1, NULL}
 };
 
 apuext_t vrcvi_ext = {
@@ -188,6 +189,15 @@ apuext_t vrcvi_ext = {
 
 /*
 ** $Log$
+** Revision 1.2  2006/10/17 11:04:14  tpm
+** Patch by: Josep Torra Valles  <josep at fluendo com>
+** * gst/nsf/fds_snd.c:
+** * gst/nsf/mmc5_snd.c:
+** * gst/nsf/nsf.c:
+** * gst/nsf/vrc7_snd.c:
+** * gst/nsf/vrcvisnd.c:
+** Fix some things the Forte compiler warns about (#362626).
+**
 ** Revision 1.1  2006/07/13 15:07:28  wtay
 ** Based on patches by: Johan Dahlin <johan at gnome dot org>
 ** Ronald Bultje <rbultje at ronald dot bitfreak dot net>