summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2010-05-24 16:57:48 +0000
committerMichael Sevakis <jethead71@rockbox.org>2010-05-24 16:57:48 +0000
commit1f5b9434daeda72ffa6d37357d3ed55c44c5c66e (patch)
treecabea3bf9b4d2fe1b9d3a69e582b26ac8a63b398 /firmware
parentd56999890f2aacf197d9ae4383313271499509a9 (diff)
downloadrockbox-1f5b9434daeda72ffa6d37357d3ed55c44c5c66e.tar.gz
rockbox-1f5b9434daeda72ffa6d37357d3ed55c44c5c66e.tar.bz2
rockbox-1f5b9434daeda72ffa6d37357d3ed55c44c5c66e.zip
Cleanup r26253 red and yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26254 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/tms320dm320/mrobe-500/pcm-mr500.c4
-rw-r--r--firmware/target/hosted/sdl/pcm-sdl.c2
-rw-r--r--firmware/target/mips/ingenic_jz47xx/pcm-jz4740.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/pcm-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/pcm-mr500.c
index d7d8f92a0c..c4693d632a 100644
--- a/firmware/target/arm/tms320dm320/mrobe-500/pcm-mr500.c
+++ b/firmware/target/arm/tms320dm320/mrobe-500/pcm-mr500.c
@@ -32,8 +32,8 @@
/* These are global to save some latency when pcm_play_dma_get_peak_buffer is
* called.
*/
-static unsigned char *start;
-static size_t size;
+static void *start;
+static size_t size;
void pcm_postinit(void)
{
diff --git a/firmware/target/hosted/sdl/pcm-sdl.c b/firmware/target/hosted/sdl/pcm-sdl.c
index 03e6e1336c..811d5c7814 100644
--- a/firmware/target/hosted/sdl/pcm-sdl.c
+++ b/firmware/target/hosted/sdl/pcm-sdl.c
@@ -228,7 +228,7 @@ static void sdl_audio_callback(struct pcm_udata *udata, Uint8 *stream, int len)
/* Audio card wants more? Get some more then. */
while (len > 0) {
- pcm_play_get_more_callback(&pcm_data, &pcm_data_size);
+ pcm_play_get_more_callback((void **)&pcm_data, &pcm_data_size);
start:
if (pcm_data_size != 0) {
udata->num_in = pcm_data_size / pcm_sample_bytes;
diff --git a/firmware/target/mips/ingenic_jz47xx/pcm-jz4740.c b/firmware/target/mips/ingenic_jz47xx/pcm-jz4740.c
index 4cf43471eb..5cd9c33e18 100644
--- a/firmware/target/mips/ingenic_jz47xx/pcm-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/pcm-jz4740.c
@@ -100,7 +100,7 @@ static inline void set_dma(const void *addr, size_t size)
static inline void play_dma_callback(void)
{
- unsigned char *start;
+ void *start;
size_t size;
pcm_play_get_more_callback(&start, &size);