diff options
author | Andre Pang <athp@users.sourceforge.net> | 2005-05-09 06:55:22 +0000 |
---|---|---|
committer | Andre Pang <athp@users.sourceforge.net> | 2005-05-09 06:55:22 +0000 |
commit | e1bbc779c8e9552ae551baad9f22a722b52dab4c (patch) | |
tree | b724aedd33a4ec7c34bf80d32f312f5796f87b68 /src | |
parent | b5e3601f8615576d2e5a06c2177331a476de2ef6 (diff) | |
download | xine-lib-e1bbc779c8e9552ae551baad9f22a722b52dab4c.tar.gz xine-lib-e1bbc779c8e9552ae551baad9f22a722b52dab4c.tar.bz2 |
**BUGFIX**
Fix compilation of video_out_opengl.c with Apple gcc 4.0
CVS patchset: 7533
CVS date: 2005/05/09 06:55:22
Diffstat (limited to 'src')
-rw-r--r-- | src/video_out/video_out_opengl.c | 4 |
1 files 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); |