From 53af0e3bafbd84f80e14d2b2f8dfa6b425afe2e5 Mon Sep 17 00:00:00 2001 From: Josep Torra Valles Date: Tue, 17 Oct 2006 11:04:14 +0000 Subject: gst/nsf/: Fix some things the Forte compiler warns about (#362626). Original commit message from CVS: Patch by: Josep Torra Valles * 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). --- gst/nsf/vrcvisnd.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'gst/nsf/vrcvisnd.c') 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 #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 +** * 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 ** Ronald Bultje -- cgit v1.2.1