summaryrefslogtreecommitdiff
path: root/src/m_fixed.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/m_fixed.c')
-rw-r--r--src/m_fixed.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/m_fixed.c b/src/m_fixed.c
index 5e3050bc..ba76b36c 100644
--- a/src/m_fixed.c
+++ b/src/m_fixed.c
@@ -43,7 +43,7 @@ FixedMul
( fixed_t a,
fixed_t b )
{
- return ((long long) a * (long long) b) >> FRACBITS;
+ return ((int64_t) a * (int64_t) b) >> FRACBITS;
}
@@ -60,9 +60,9 @@ fixed_t FixedDiv(fixed_t a, fixed_t b)
}
else
{
- long long result;
+ int64_t result;
- result = ((long long) a << 16) / b;
+ result = ((int64_t) a << 16) / b;
return (fixed_t) result;
}