Kaynağa Gözat

Fixed compiler warning

Sam Lantinga 11 yıl önce
ebeveyn
işleme
86655b64ef
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/video/windows/SDL_windowsvideo.c

+ 1 - 1
src/video/windows/SDL_windowsvideo.c

@@ -261,7 +261,7 @@ DXGI_LoadDLL( void **pDXGIDLL , IDXGIFactory **pDXGIFactory )
 			"CreateDXGIFactory");
 		if (CreateDXGI) {
 			GUID dxgiGUID = {0x7b7166ec,0x21c7,0x44ae,{0xb2,0x1a,0xc9,0xae,0x32,0x1a,0xe3,0x69}};
-			if( !SUCCEEDED( CreateDXGI( &dxgiGUID, pDXGIFactory ))) {
+			if( !SUCCEEDED( CreateDXGI( &dxgiGUID, (void**)pDXGIFactory ))) {
 				*pDXGIFactory = NULL;
 			}
 		}