summaryrefslogtreecommitdiffstats
path: root/gst/nsf/nes_apu.c
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2008-04-09 13:43:51 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2008-04-09 13:43:51 +0000
commitad302618b6dfacfcf675456f2e6952f25f222eae (patch)
tree1f254d657a096387f9ddf52fea929eae3187d2ac /gst/nsf/nes_apu.c
parentac9c01d8c17a6139a40ecc0c473c79c552ebde85 (diff)
downloadgst-plugins-bad-ad302618b6dfacfcf675456f2e6952f25f222eae.tar.gz
gst-plugins-bad-ad302618b6dfacfcf675456f2e6952f25f222eae.tar.bz2
gst-plugins-bad-ad302618b6dfacfcf675456f2e6952f25f222eae.zip
gst/nsf/nes_apu.*: Don't do void pointer arithmetic - it's a gcc extension.
Original commit message from CVS: * gst/nsf/nes_apu.c: (apu_process): * gst/nsf/nes_apu.h: Don't do void pointer arithmetic - it's a gcc extension.
Diffstat (limited to 'gst/nsf/nes_apu.c')
-rw-r--r--gst/nsf/nes_apu.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/gst/nsf/nes_apu.c b/gst/nsf/nes_apu.c
index 47e1d72b..6ba5026f 100644
--- a/gst/nsf/nes_apu.c
+++ b/gst/nsf/nes_apu.c
@@ -972,7 +972,7 @@ apu_getpcmdata (void **data, int *num_samples, int *sample_bits)
void
-apu_process (void *buffer, int num_samples)
+apu_process (uint8 * buffer, int num_samples)
{
apudata_t *d;
uint32 elapsed_cycles;
@@ -1210,7 +1210,12 @@ apu_getcyclerate (void)
/*
** $Log$
-** Revision 1.2 2008/03/25 15:56:12 slomo
+** Revision 1.3 2008/04/09 13:43:50 thaytan
+** * gst/nsf/nes_apu.c: (apu_process):
+** * gst/nsf/nes_apu.h:
+** Don't do void pointer arithmetic - it's a gcc extension.
+**
+** Revision 1.2 2008-03-25 15:56:12 slomo
** Patch by: Andreas Henriksson <andreas at fatal dot set>
** * gst/nsf/Makefile.am:
** * gst/nsf/dis6502.h: