From 9dc01446b018803415e0fe02b0f060b037e0738a Mon Sep 17 00:00:00 2001 From: Torsten Jager Date: Mon, 10 Mar 2014 16:36:55 +0100 Subject: Silence compiler warnings on register_enum () arg #4. Making them all "const char * const *" did work too (even with Kaffeine build/run), but that would be an API change. --- src/xine-utils/memcpy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xine-utils/memcpy.c') diff --git a/src/xine-utils/memcpy.c b/src/xine-utils/memcpy.c index bd318bd5f..dd5ec71db 100644 --- a/src/xine-utils/memcpy.c +++ b/src/xine-utils/memcpy.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2001-2013 the xine project + * Copyright (C) 2001-2014 the xine project * * This file is part of xine, a free video player. * @@ -589,7 +589,7 @@ void xine_probe_fast_memcpy(xine_t *xine) config_flags = xine_mm_accel(); best = xine->config->register_enum (xine->config, "engine.performance.memcpy_method", 0, - memcpy_methods, + (char **)memcpy_methods, _("memcopy method used by xine"), _("The copying of large memory blocks is one of the most " "expensive operations on todays computers. Therefore xine " -- cgit v1.2.3