diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/dict.c | 2 | ||||
-rw-r--r-- | apps/plugins/mpegplayer/mpegplayer.c | 2 | ||||
-rw-r--r-- | apps/plugins/search.c | 2 |
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")) { |