From 442b041d3f00e2edec209dfafecb50f49f03402c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 11 Oct 2008 20:07:24 -0700 Subject: song: use mpd_sizeof_str_flex_array for song.url This can potentially save a few bytes on 64-bit architectures and makes it more obvious what we're doing. --- src/song.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/song.h') diff --git a/src/song.h b/src/song.h index 338bcf6c1..e29c034ef 100644 --- a/src/song.h +++ b/src/song.h @@ -35,8 +35,8 @@ struct mpd_song { struct mpd_tag *tag; struct directory *parent; time_t mtime; - char url[sizeof(size_t)]; -}; + char url[mpd_sizeof_str_flex_array]; +} mpd_packed; void song_free(struct mpd_song *); -- cgit v1.2.3