The SDL_PixelFormat* passed to SDL_ConvertSurface() should be const.