aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/playlist.c2
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));