From 283707c5e5bc436b78ea23bf5500cb6b16a01148 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Apr 2016 13:00:27 +0200 Subject: Imported Upstream version 0.9 --- ListItem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ListItem.c') diff --git a/ListItem.c b/ListItem.c index 05754ac..2568ef4 100644 --- a/ListItem.c +++ b/ListItem.c @@ -1,6 +1,6 @@ /* htop - ListItem.c -(C) 2004-2006 Hisham H. Muhammad +(C) 2004-2010 Hisham H. Muhammad Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ @@ -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