Fixed compiler warning
authorSam Lantinga <slouken@libsdl.org>
Sat, 01 Mar 2014 11:40:41 -0800
changeset 8272 51453adef070
parent 8271 534b8f81d519
child 8273 bdfea8962bcf
Fixed compiler warning
src/video/windows/SDL_windowsvideo.c
--- a/src/video/windows/SDL_windowsvideo.c	Sat Mar 01 11:39:39 2014 -0800
+++ b/src/video/windows/SDL_windowsvideo.c	Sat Mar 01 11:40:41 2014 -0800
@@ -261,7 +261,7 @@
 			"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;
 			}
 		}