diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-02-25 21:10:56 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-02-25 21:10:56 +0000 |
commit | 8edc416344afe51e3509d09e11a37c91517e0f6a (patch) | |
tree | 87917c82caffb575dad24880bbd00d71ec8fa99a /src/playlist.c | |
parent | e1c839cd5679f9b60f6b5e2bfd3a341b64463456 (diff) | |
download | mpd-8edc416344afe51e3509d09e11a37c91517e0f6a.tar.gz mpd-8edc416344afe51e3509d09e11a37c91517e0f6a.tar.xz mpd-8edc416344afe51e3509d09e11a37c91517e0f6a.zip |
some more cleanups
git-svn-id: https://svn.musicpd.org/mpd/trunk@60 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/playlist.c')
-rw-r--r-- | src/playlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist.c b/src/playlist.c index eec721cfb..e9b0c3228 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -130,7 +130,7 @@ void initPlaylist() { playlist.songs = malloc(sizeof(Song *)*playlist_max_length); playlist.order = malloc(sizeof(Song *)*playlist_max_length); - memset(playlist.songs,(int)NULL,sizeof(char *)*playlist_max_length); + memset(playlist.songs,0,sizeof(char *)*playlist_max_length); srand(time(NULL)); |