diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2007-04-21 19:07:15 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2007-04-21 19:07:15 +0000 |
| commit | 8676dc25f53ec5ae183f514433103b407fdf322b (patch) | |
| tree | 208a7628b30c2970ecdca2b14fe6bf3da6489aae /apps/plugins/video.c | |
| parent | 26d242ae654cc1e69c55ecd49fc3a5c13dfb8052 (diff) | |
| download | rockbox-8676dc25f53ec5ae183f514433103b407fdf322b.zip rockbox-8676dc25f53ec5ae183f514433103b407fdf322b.tar.gz rockbox-8676dc25f53ec5ae183f514433103b407fdf322b.tar.bz2 rockbox-8676dc25f53ec5ae183f514433103b407fdf322b.tar.xz | |
Missed a couple. Hopefully fix all warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13234 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/video.c')
| -rw-r--r-- | apps/plugins/video.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |