diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2010-12-02 21:20:30 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2010-12-02 21:20:30 +0000 |
| commit | 921ac8d6dde6df60cce9346232762794fb9efa05 (patch) | |
| tree | 7f33290eb2d388aa7ed49e4a4d362da1abb8492f /apps/plugins/test_disk.c | |
| parent | 589d2110dc6d7d1104554062ac5f01246c7f8acf (diff) | |
| download | rockbox-921ac8d6dde6df60cce9346232762794fb9efa05.zip rockbox-921ac8d6dde6df60cce9346232762794fb9efa05.tar.gz rockbox-921ac8d6dde6df60cce9346232762794fb9efa05.tar.bz2 rockbox-921ac8d6dde6df60cce9346232762794fb9efa05.tar.xz | |
Change the gcc options for sdl builds to allow for gnu99 features, it needs some fixes in other places. Fixes test_mem compilation failure on cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28723 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/test_disk.c')
| -rw-r--r-- | apps/plugins/test_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/test_disk.c b/apps/plugins/test_disk.c index afb25da..dd0758a 100644 --- a/apps/plugins/test_disk.c +++ b/apps/plugins/test_disk.c @@ -434,7 +434,7 @@ enum plugin_status plugin_start(const void* parameter) audiobuf = rb->plugin_get_audio_buffer(&audiobuflen); /* align start and length to 32 bit */ - align = (-(int)audiobuf) & 3; + align = (-(intptr_t)audiobuf) & 3; audiobuf += align; audiobuflen = (audiobuflen - align) & ~3; |