test/testgles.c
changeset 10503 6f9f7acc9d1e
parent 9998 f67cf37e9cd4
child 10737 3406a0f8b041
     1.1 --- a/test/testgles.c	Sun Oct 09 20:31:04 2016 +0200
     1.2 +++ b/test/testgles.c	Sun Oct 09 20:31:32 2016 +0200
     1.3 @@ -173,7 +173,7 @@
     1.4          quit(2);
     1.5      }
     1.6  
     1.7 -    context = SDL_calloc(state->num_windows, sizeof(context));
     1.8 +    context = (SDL_GLContext *)SDL_calloc(state->num_windows, sizeof(context));
     1.9      if (context == NULL) {
    1.10          SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Out of memory!\n");
    1.11          quit(2);