From e1bbc779c8e9552ae551baad9f22a722b52dab4c Mon Sep 17 00:00:00 2001 From: Andre Pang Date: Mon, 9 May 2005 06:55:22 +0000 Subject: **BUGFIX** Fix compilation of video_out_opengl.c with Apple gcc 4.0 CVS patchset: 7533 CVS date: 2005/05/09 06:55:22 --- src/video_out/video_out_opengl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_out/video_out_opengl.c b/src/video_out/video_out_opengl.c index 043e08344..2b2736cca 100644 --- a/src/video_out/video_out_opengl.c +++ b/src/video_out/video_out_opengl.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out_opengl.c,v 1.49 2005/04/21 17:37:41 mshopf Exp $ + * $Id: video_out_opengl.c,v 1.50 2005/05/09 06:55:22 athp Exp $ * * video_out_opengl.c, OpenGL based interface for xine * @@ -697,7 +697,7 @@ static void *getdladdr(const GLubyte *funcName) { return NULL; #elif defined(__APPLE__) - char temp = xine_xmalloc (strlen (funcName) + 2); + char *temp = xine_xmalloc (strlen (funcName) + 2); void *res = NULL; temp[0] = '_'; /* Mac OS X prepends an underscore on function names */ strcpy (temp+1, funcName); -- cgit v1.2.3