From bc1c8835c612ccb8063982657453fe658ed69d75 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 28 Aug 2008 20:02:17 +0200 Subject: const pointers The usual bunch of pointer arguments which should be const. --- src/tag.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tag.h') 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)) -- cgit v1.2.3