Buildfix for real.

This commit is contained in:
Jordan Woyak 2013-03-05 16:07:32 -06:00
parent fe3a54d7fd
commit b34991c4c3
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ inline u64 Log2(u64 val)
#if defined(__GNUC__)
return 63 - __builtin_clzll(val);
#elif defined(_MSC_VER)
#elif defined(_MSC_VER) && defined(_M_X64)
unsigned long result = -1;
_BitScanReverse64(&result, val);
return result;