fixed visual defined test

This commit is contained in:
Yann Collet 2019-10-18 17:08:52 -07:00
parent f379637025
commit 0492c57013

View File

@ -399,7 +399,7 @@ int UTIL_countPhysicalCores(void)
DWORD returnLength = 0; DWORD returnLength = 0;
size_t byteOffset = 0; size_t byteOffset = 0;
#ifdef (_MSC_VER) #if defined(_MSC_VER)
/* Visual Studio does not like the following cast */ /* Visual Studio does not like the following cast */
# pragma warning( disable : 4054 ) /* conversion from function ptr to data ptr */ # pragma warning( disable : 4054 ) /* conversion from function ptr to data ptr */
# pragma warning( disable : 4055 ) /* conversion from data ptr to function ptr */ # pragma warning( disable : 4055 ) /* conversion from data ptr to function ptr */