loader: Fix some non-msvc compiler warnings
authorBiswapriyo Nath <nathbappai@gmail.com>
Wed, 29 Jul 2020 04:58:18 +0000 (10:28 +0530)
committerLenny Komow <lenny@lunarg.com>
Wed, 19 Aug 2020 21:46:13 +0000 (15:46 -0600)
commit2979391e5b0c951ad976625686c9644c3da6fc96
treeebd5600c97218b897ab68d7d5d3661fae05faacb
parent30b3f3857835cadb16d4f893de35caf313cf6947
loader: Fix some non-msvc compiler warnings

changes:
* loader/loader.c: cast dxgi_factory to void** type
* tests/loader_validation_tests.cpp: check if __STDC_FORMAT_MACROS is already defined
* tests/test_common.h: check if NOMINMAX is already defined
* tests/test_commogn.h: check _MSC_VER instead of WIN32 before pragma warning directive

Change-Id: I2fd78b760a90c2ac0e6463a60f5593a24ca904b8
loader/loader.c
tests/loader_validation_tests.cpp
tests/test_common.h