src/video/SDL_surface.c
changeset 11254 390de4b9f84f
parent 11253 ecc1f6b82d95
child 11289 ca3c2c98f2e1
     1.1 --- a/src/video/SDL_surface.c	Sat Aug 12 16:59:00 2017 -0700
     1.2 +++ b/src/video/SDL_surface.c	Sat Aug 12 17:01:14 2017 -0700
     1.3 @@ -988,7 +988,7 @@
     1.4              tmp2 = SDL_ConvertSurface(tmp, format, 0);
     1.5  
     1.6              /* Get the converted colorkey */
     1.7 -            memcpy(&converted_colorkey, tmp2->pixels, tmp2->format->BytesPerPixel);
     1.8 +            SDL_memcpy(&converted_colorkey, tmp2->pixels, tmp2->format->BytesPerPixel);
     1.9  
    1.10              SDL_FreeSurface(tmp);
    1.11              SDL_FreeSurface(tmp2);