diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2010-02-25 01:43:18 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2010-02-25 01:43:18 +0000 |
commit | 02a30bfecdd841b4ca48acfc9b5f2df7930e7a69 (patch) | |
tree | 0a86343ad37f77c10ed6cea35b49e5ff2b926163 /ListItem.c | |
parent | 5cc89986887de19c8898ce36e3776b3483a72f2d (diff) |
warning fixes
Diffstat (limited to 'ListItem.c')
-rw-r--r-- | ListItem.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |