From 5a0aa41728efdce4931cce6b527040459d12518b Mon Sep 17 00:00:00 2001 From: Christian Wieninger Date: Sat, 4 Jul 2009 20:56:41 +0200 Subject: fixes for gcc-4.4 --- searchtimer_thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'searchtimer_thread.c') diff --git a/searchtimer_thread.c b/searchtimer_thread.c index c2aca95..1a3fed1 100644 --- a/searchtimer_thread.c +++ b/searchtimer_thread.c @@ -600,8 +600,8 @@ char* cSearchTimerThread::SummaryExtended(cSearchExt* searchExt, cTimer* Timer, if (!isempty(aux)) { tmpaux = strdup(aux); - char* begin = strstr(aux, ""); - char* end = strstr(aux, ""); + const char* begin = strstr(aux, ""); + const char* end = strstr(aux, ""); if (begin && end) { if (begin == aux) strcpy(tmpaux, ""); else strn0cpy(tmpaux, aux, begin-aux+1); -- cgit v1.2.3