src/video/SDL_renderer_gl.c
changeset 3253 5d7ef5970073
parent 3041 20d65430e63c
child 3262 e3d33bd599eb
--- 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);