diff src/video/SDL_renderer_gl.c @ 3253:5d7ef5970073

Fixed issues building 64-bit Windows binary
author Sam Lantinga <slouken@libsdl.org>
date Sat, 05 Sep 2009 23:37:35 +0000
parents 20d65430e63c
children e3d33bd599eb
line wrap: on
line diff
--- a/src/video/SDL_renderer_gl.c	Sat Sep 05 21:31:50 2009 +0000
+++ b/src/video/SDL_renderer_gl.c	Sat Sep 05 23:37:35 2009 +0000
@@ -515,7 +515,7 @@
     data->glGenProgramsARB(1, &program);
     data->glBindProgramARB(shader_type, program);
     data->glProgramStringARB(shader_type, GL_PROGRAM_FORMAT_ASCII_ARB,
-                             SDL_strlen(code), code);
+                             (GLsizei)SDL_strlen(code), code);
 
     SDL_free(code);