From 02a30bfecdd841b4ca48acfc9b5f2df7930e7a69 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 25 Feb 2010 01:43:18 +0000 Subject: warning fixes --- ListItem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ListItem.c') diff --git a/ListItem.c b/ListItem.c index 05754ac6..f6d6cc5f 100644 --- a/ListItem.c +++ b/ListItem.c @@ -44,7 +44,7 @@ static void ListItem_display(Object* cast, RichString* out) { RichString_write(out, CRT_colors[DEFAULT_COLOR], buffer); } -ListItem* ListItem_new(char* value, int key) { +ListItem* ListItem_new(const char* value, int key) { ListItem* this = malloc(sizeof(ListItem)); Object_setClass(this, LISTITEM_CLASS); ((Object*)this)->display = ListItem_display; -- cgit v1.2.3