summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-03-17 09:54:28 +0000
committerJens Arnold <amiconn@rockbox.org>2007-03-17 09:54:28 +0000
commitf68362ad6ffef77261e2f64cedc08a023c721ae7 (patch)
tree455e19964b6efb605374ea192b97d8eed0307c97 /apps/plugins
parent75e1fd718f4d354afbee4cf5251e03d5101c0daf (diff)
downloadrockbox-f68362ad6ffef77261e2f64cedc08a023c721ae7.tar.gz
rockbox-f68362ad6ffef77261e2f64cedc08a023c721ae7.zip
Fix simulator builds, and some debugf() format strings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12817 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/dict.c2
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.c2
-rw-r--r--apps/plugins/search.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/dict.c b/apps/plugins/dict.c
index 2fde18611e..82c6afc906 100644
--- a/apps/plugins/dict.c
+++ b/apps/plugins/dict.c
@@ -217,7 +217,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
217 return PLUGIN_OK; 217 return PLUGIN_OK;
218 } 218 }
219 219
220 DEBUGF("Found %s at offset %d\n", word.word, reverse(word.offset)); 220 DEBUGF("Found %s at offset %ld\n", word.word, reverse(word.offset));
221 221
222 /* now open the description file */ 222 /* now open the description file */
223 fData = rb->open(DICT_DESC, O_RDONLY); 223 fData = rb->open(DICT_DESC, O_RDONLY);
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c
index bd0b7a5a42..96866c397d 100644
--- a/apps/plugins/mpegplayer/mpegplayer.c
+++ b/apps/plugins/mpegplayer/mpegplayer.c
@@ -830,7 +830,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
830 /* Grab most of the buffer for the compressed video - leave some for 830 /* Grab most of the buffer for the compressed video - leave some for
831 PCM audio data and some for libmpeg2 malloc use. */ 831 PCM audio data and some for libmpeg2 malloc use. */
832 buffer_size = audiosize - (PCMBUFFER_SIZE+AUDIOBUFFER_SIZE+LIBMPEG2BUFFER_SIZE); 832 buffer_size = audiosize - (PCMBUFFER_SIZE+AUDIOBUFFER_SIZE+LIBMPEG2BUFFER_SIZE);
833 DEBUGF("audiosize=%d, buffer_size=%d\n",audiosize,buffer_size); 833 DEBUGF("audiosize=%d, buffer_size=%ld\n",audiosize,buffer_size);
834 buffer = mpeg2_malloc(buffer_size,-1); 834 buffer = mpeg2_malloc(buffer_size,-1);
835 835
836 if (buffer == NULL) 836 if (buffer == NULL)
diff --git a/apps/plugins/search.c b/apps/plugins/search.c
index 26669f2b83..1705998607 100644
--- a/apps/plugins/search.c
+++ b/apps/plugins/search.c
@@ -154,7 +154,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
154 154
155 rb = api; 155 rb = api;
156 156
157 DEBUGF("%s - %s\n", parameter, &filename[rb->strlen(filename)-4]); 157 DEBUGF("%s - %s\n", (char *)parameter, &filename[rb->strlen(filename)-4]);
158 /* Check the extension. We only allow .m3u files. */ 158 /* Check the extension. We only allow .m3u files. */
159 if(rb->strcasecmp(&filename[rb->strlen(filename)-4], ".m3u") && 159 if(rb->strcasecmp(&filename[rb->strlen(filename)-4], ".m3u") &&
160 rb->strcasecmp(&filename[rb->strlen(filename)-5], ".m3u8")) { 160 rb->strcasecmp(&filename[rb->strlen(filename)-5], ".m3u8")) {