summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2012-04-22 16:16:52 +0200
committerBertrik Sikken <bertrik@sikken.nl>2012-04-22 16:20:51 +0200
commitf3211e6461ef27985e408007c1fe5497ed33efc4 (patch)
tree3341d3550de51b6e349ae5062d56d23e906d4676
parent7901aa6f190a711fc52d07476ca0e9d512c6c0e6 (diff)
downloadrockbox-f3211e6461ef27985e408007c1fe5497ed33efc4.tar.gz
rockbox-f3211e6461ef27985e408007c1fe5497ed33efc4.zip
libgme: fix incorrect memset size argument
Change-Id: If663b3881cedaefd837a06e3f60e4d28938c2295
-rw-r--r--apps/codecs/libgme/vgm_emu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libgme/vgm_emu.c b/apps/codecs/libgme/vgm_emu.c
index 8b22aba06f..4b8953ccf4 100644
--- a/apps/codecs/libgme/vgm_emu.c
+++ b/apps/codecs/libgme/vgm_emu.c
@@ -194,7 +194,7 @@ static void get_vgm_length( struct header_t const* h, struct track_info_t* out )
194 194
195static blargg_err_t track_info( struct Vgm_Emu* this, struct track_info_t* out ) 195static blargg_err_t track_info( struct Vgm_Emu* this, struct track_info_t* out )
196{ 196{
197 memset(out, 0, sizeof out); 197 memset(out, 0, sizeof *out);
198 get_vgm_length( header( this ), out ); 198 get_vgm_length( header( this ), out );
199 199
200 int size; 200 int size;