From c3022661a377d52bf368b6ee5ccd35a434d24a0b Mon Sep 17 00:00:00 2001 From: phintuka Date: Fri, 29 May 2009 15:09:10 +0000 Subject: Fixed invalid cast --- setup_menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setup_menu.c') diff --git a/setup_menu.c b/setup_menu.c index 5a7b1cd2..0cd91bf8 100644 --- a/setup_menu.c +++ b/setup_menu.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: setup_menu.c,v 1.69 2009-05-03 20:34:58 phintuka Exp $ + * $Id: setup_menu.c,v 1.70 2009-05-29 15:09:10 phintuka Exp $ * */ @@ -469,7 +469,7 @@ struct tvtime_s { judder_correction = strstr(str, "judder_correction=0") ? 0 : 1; use_progressive_frame_flag = strstr(str, "use_progressive_frame_flag=0") ? 0 : 1; method=1; - char *m = strstr(str, "method="); + const char *m = strstr(str, "method="); if(m) { char *tmp = strdup(m + 7); if(strchr(tmp, ',')) -- cgit v1.2.3