Fixed compiler warning
authorSam Lantinga
Sat, 01 Mar 2014 11:40:41 -0800
changeset 827251453adef070
parent 8271 534b8f81d519
child 8273 bdfea8962bcf
Fixed compiler warning
src/video/windows/SDL_windowsvideo.c
     1.1 --- a/src/video/windows/SDL_windowsvideo.c	Sat Mar 01 11:39:39 2014 -0800
     1.2 +++ b/src/video/windows/SDL_windowsvideo.c	Sat Mar 01 11:40:41 2014 -0800
     1.3 @@ -261,7 +261,7 @@
     1.4  			"CreateDXGIFactory");
     1.5  		if (CreateDXGI) {
     1.6  			GUID dxgiGUID = {0x7b7166ec,0x21c7,0x44ae,{0xb2,0x1a,0xc9,0xae,0x32,0x1a,0xe3,0x69}};
     1.7 -			if( !SUCCEEDED( CreateDXGI( &dxgiGUID, pDXGIFactory ))) {
     1.8 +			if( !SUCCEEDED( CreateDXGI( &dxgiGUID, (void**)pDXGIFactory ))) {
     1.9  				*pDXGIFactory = NULL;
    1.10  			}
    1.11  		}