diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2012-04-22 16:16:52 +0200 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2012-04-22 16:20:51 +0200 |
commit | f3211e6461ef27985e408007c1fe5497ed33efc4 (patch) | |
tree | 3341d3550de51b6e349ae5062d56d23e906d4676 | |
parent | 7901aa6f190a711fc52d07476ca0e9d512c6c0e6 (diff) | |
download | rockbox-f3211e6461ef27985e408007c1fe5497ed33efc4.tar.gz rockbox-f3211e6461ef27985e408007c1fe5497ed33efc4.zip |
libgme: fix incorrect memset size argument
Change-Id: If663b3881cedaefd837a06e3f60e4d28938c2295
-rw-r--r-- | apps/codecs/libgme/vgm_emu.c | 2 |
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 | ||
195 | static blargg_err_t track_info( struct Vgm_Emu* this, struct track_info_t* out ) | 195 | static 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; |