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/ls.c | |
parent | e1c839cd5679f9b60f6b5e2bfd3a341b64463456 (diff) |
some more cleanups
git-svn-id: https://svn.musicpd.org/mpd/trunk@60 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/ls.c')
-rw-r--r-- | src/ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ #include <stdlib.h> char * dupAndStripPlaylistSuffix(char * file) { - int size = strlen(file)-strlen(PLAYLIST_FILE_SUFFIX)-1; + size_t size = strlen(file)-strlen(PLAYLIST_FILE_SUFFIX)-1; char * ret = malloc(size+1); strncpy(ret,file,size); |