diff options
author | Max Kellermann <max@duempel.org> | 2008-08-28 20:02:17 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-28 20:02:17 +0200 |
commit | bc1c8835c612ccb8063982657453fe658ed69d75 (patch) | |
tree | 192d420f193d8b5c6690d7064634ea58e3bc2d2d /src/tag.c | |
parent | 801c71ed1c02a1505ef64902f6557fdfe1749a96 (diff) | |
download | mpd-bc1c8835c612ccb8063982657453fe658ed69d75.tar.gz mpd-bc1c8835c612ccb8063982657453fe658ed69d75.tar.xz mpd-bc1c8835c612ccb8063982657453fe658ed69d75.zip |
const pointers
The usual bunch of pointer arguments which should be const.
Diffstat (limited to 'src/tag.c')
-rw-r--r-- | src/tag.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -697,7 +697,7 @@ int mpdTagsAreEqual(MpdTag * tag1, MpdTag * tag2) } static void appendToTagItems(MpdTag * tag, enum tag_type type, - char *value, size_t len) + const char *value, size_t len) { unsigned int i = tag->numOfItems; char *duplicated = xmalloc(len + 1); @@ -718,7 +718,7 @@ static void appendToTagItems(MpdTag * tag, enum tag_type type, } void addItemToMpdTagWithLen(MpdTag * tag, enum tag_type itemType, - char *value, size_t len) + const char *value, size_t len) { if (ignoreTagItems[itemType]) { |