aboutsummaryrefslogtreecommitdiff
path: root/src/tag.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-28 20:02:17 +0200
committerMax Kellermann <max@duempel.org>2008-08-28 20:02:17 +0200
commitbc1c8835c612ccb8063982657453fe658ed69d75 (patch)
tree192d420f193d8b5c6690d7064634ea58e3bc2d2d /src/tag.h
parent801c71ed1c02a1505ef64902f6557fdfe1749a96 (diff)
const pointers
The usual bunch of pointer arguments which should be const.
Diffstat (limited to 'src/tag.h')
-rw-r--r--src/tag.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag.h b/src/tag.h
index 74770e49..a9bf1993 100644
--- a/src/tag.h
+++ b/src/tag.h
@@ -73,7 +73,7 @@ void clearItemsFromMpdTag(MpdTag * tag, enum tag_type itemType);
void freeMpdTag(MpdTag * tag);
void addItemToMpdTagWithLen(MpdTag * tag, enum tag_type itemType,
- char *value, size_t len);
+ const char *value, size_t len);
#define addItemToMpdTag(tag, itemType, value) \
addItemToMpdTagWithLen(tag, itemType, value, strlen(value))