diff options
author | Josep Torra Valles <josep@fluendo.com> | 2006-10-17 11:04:14 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-10-17 11:04:14 +0000 |
commit | 53af0e3bafbd84f80e14d2b2f8dfa6b425afe2e5 (patch) | |
tree | 32e36f3b2738cf2b649fadb471aade7b5db2b1f9 /gst/nsf/vrcvisnd.c | |
parent | 84d6cf69a2f24075b06cfc6edbe18656b6d28499 (diff) | |
download | gst-plugins-bad-53af0e3bafbd84f80e14d2b2f8dfa6b425afe2e5.tar.gz gst-plugins-bad-53af0e3bafbd84f80e14d2b2f8dfa6b425afe2e5.tar.bz2 gst-plugins-bad-53af0e3bafbd84f80e14d2b2f8dfa6b425afe2e5.zip |
gst/nsf/: Fix some things the Forte compiler warns about (#362626).
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).
Diffstat (limited to 'gst/nsf/vrcvisnd.c')
-rw-r--r-- | gst/nsf/vrcvisnd.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gst/nsf/vrcvisnd.c b/gst/nsf/vrcvisnd.c index e6b5eb3e..e9652b56 100644 --- a/gst/nsf/vrcvisnd.c +++ b/gst/nsf/vrcvisnd.c @@ -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> |