Get rid of MSVC's __int64
Use either int64_t, uint64_t or long long and unsigned long long, defined as per C++11 standard
This commit is contained in:
@@ -50,9 +50,9 @@ int Mth::floor(float v)
|
||||
return v < i ? i - 1 : i;
|
||||
}
|
||||
|
||||
__int64 Mth::lfloor(double v)
|
||||
int64_t Mth::lfloor(double v)
|
||||
{
|
||||
__int64 i = (__int64) v;
|
||||
int64_t i = (int64_t) v;
|
||||
return v < i ? i - 1 : i;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user