From 8676dc25f53ec5ae183f514433103b407fdf322b Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 21 Apr 2007 19:07:15 +0000 Subject: Missed a couple. Hopefully fix all warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13234 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins/video.c') diff --git a/apps/plugins/video.c b/apps/plugins/video.c index 3700c23..f049974 100644 --- a/apps/plugins/video.c +++ b/apps/plugins/video.c @@ -171,7 +171,7 @@ static struct /* buffer information */ static struct { - int bufsize; + ssize_t bufsize; int granularity; /* common multiple of block and sector size */ unsigned char* pBufStart; /* start of ring buffer */ unsigned char* pBufEnd; /* end of ring buffer */ @@ -867,7 +867,7 @@ int main(char* filename) /* init buffer */ rb->memset(&gBuf, 0, sizeof(gBuf)); gBuf.pOSD = rb->lcd_framebuffer + LCD_WIDTH*7; /* last screen line */ - gBuf.pBufStart = rb->plugin_get_audio_buffer(&gBuf.bufsize); + gBuf.pBufStart = rb->plugin_get_audio_buffer((size_t *)&gBuf.bufsize); /*gBuf.bufsize = 1700*1024; // test, like 2MB version!!!! */ gBuf.pBufFill = gBuf.pBufStart; /* all empty */ -- cgit v1.1