summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/runmath.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/runmath.cc')
-rw-r--r--Build/source/utils/asymptote/runmath.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/runmath.cc b/Build/source/utils/asymptote/runmath.cc
index 4461bbd28d2..82a114c55fe 100644
--- a/Build/source/utils/asymptote/runmath.cc
+++ b/Build/source/utils/asymptote/runmath.cc
@@ -90,7 +90,7 @@ extern uint32_t CLZ(uint32_t a);
inline unsigned intbits() {
static unsigned count=0;
if(count > 0) return count;
- while((1UL << count) < Int_MAX)
+ while((1ULL << count) < Int_MAX)
++count;
++count;
return count;
@@ -641,7 +641,7 @@ void gen_runmath37(stack *Stack)
{
Int a=vm::pop<Int>(Stack);
#line 414 "runmath.in"
- if((unsignedInt) a > 0xFFFFFFFF)
+ if((unsigned long long) a > 0xFFFFFFFF)
{Stack->push<Int>(CLZ((uint32_t) (a >> 32))); return;}
else {
int bits=intbits();