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 2fde186..82c6afc 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) return PLUGIN_OK; } - DEBUGF("Found %s at offset %d\n", word.word, reverse(word.offset)); + DEBUGF("Found %s at offset %ld\n", word.word, reverse(word.offset)); /* now open the description file */ fData = rb->open(DICT_DESC, O_RDONLY); diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c index bd0b7a5..96866c3 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) /* Grab most of the buffer for the compressed video - leave some for PCM audio data and some for libmpeg2 malloc use. */ buffer_size = audiosize - (PCMBUFFER_SIZE+AUDIOBUFFER_SIZE+LIBMPEG2BUFFER_SIZE); - DEBUGF("audiosize=%d, buffer_size=%d\n",audiosize,buffer_size); + DEBUGF("audiosize=%d, buffer_size=%ld\n",audiosize,buffer_size); buffer = mpeg2_malloc(buffer_size,-1); if (buffer == NULL) diff --git a/apps/plugins/search.c b/apps/plugins/search.c index 26669f2..1705998 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) rb = api; - DEBUGF("%s - %s\n", parameter, &filename[rb->strlen(filename)-4]); + DEBUGF("%s - %s\n", (char *)parameter, &filename[rb->strlen(filename)-4]); /* Check the extension. We only allow .m3u files. */ if(rb->strcasecmp(&filename[rb->strlen(filename)-4], ".m3u") && rb->strcasecmp(&filename[rb->strlen(filename)-5], ".m3u8")) { |