fix msvc-clang errors

This commit is contained in:
zeromus 2022-02-10 14:50:11 -05:00
parent 5e48c9c44a
commit f52eed131a
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ static INLINE int64_t fx32_mul(const int32_t a, const int32_t b)
static INLINE int32_t fx32_shiftdown(const int64_t a)
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && !defined(__clang__)
return (int32_t)__ll_rshift(a, 12);
#else
return (int32_t)(a >> 12);
@ -51,7 +51,7 @@ static INLINE int32_t fx32_shiftdown(const int64_t a)
static INLINE int64_t fx32_shiftup(const int32_t a)
{
#ifdef _MSC_VER
#if defined(_MSC_VER) && !defined(__clang__)
return __ll_lshift(a, 12);
#else
return ((int64_t)a) << 12;