diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-09-03 23:17:42 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-09-03 23:17:42 +0000 |
commit | e2186479d56762d097b943696423ad8588ca7f92 (patch) | |
tree | 833fb9909a1842e1eb216a695d7bc507855be4e5 /apps/plugins/mikmod/mmalloc.c | |
parent | 7887e596a99fcaf2198d624bfedf5e2ad97a49cd (diff) | |
download | rockbox-e2186479d56762d097b943696423ad8588ca7f92.tar.gz rockbox-e2186479d56762d097b943696423ad8588ca7f92.zip |
FS#12259: Remove '-w' compiler option for MikMod. Resolve all yet unreported compiler warnings and fix a bug in load_gt2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30424 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mikmod/mmalloc.c')
-rw-r--r-- | apps/plugins/mikmod/mmalloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/mikmod/mmalloc.c b/apps/plugins/mikmod/mmalloc.c index 7d505dff93..2797def57d 100644 --- a/apps/plugins/mikmod/mmalloc.c +++ b/apps/plugins/mikmod/mmalloc.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include "mikmod_internals.h" | 33 | #include "mikmod_internals.h" |
34 | 34 | ||
35 | #define ALIGN_STRIDE 16 | 35 | #define ALIGN_STRIDE 16 |
36 | 36 | /* not used | |
37 | static void * align_pointer(char *ptr, size_t stride) | 37 | static void * align_pointer(char *ptr, size_t stride) |
38 | { | 38 | { |
39 | char *pptr = ptr + sizeof(void*); | 39 | char *pptr = ptr + sizeof(void*); |
@@ -53,7 +53,7 @@ static void *get_pointer(void *data) | |||
53 | size_t _ptr = *(size_t*)_pptr; | 53 | size_t _ptr = *(size_t*)_pptr; |
54 | return (void*)_ptr; | 54 | return (void*)_ptr; |
55 | } | 55 | } |
56 | 56 | */ | |
57 | 57 | ||
58 | void* MikMod_realloc(void *data, size_t size) | 58 | void* MikMod_realloc(void *data, size_t size) |
59 | { | 59 | { |