1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

fix linux compil, var ambiguity

This commit is contained in:
Ben Kuper 2025-02-25 19:37:20 +01:00
parent f9d45f22db
commit 9550c870a2

View file

@ -253,7 +253,7 @@ static var tryQuickJSToJuce (const qjs::QuickJSContext::ValuePtr& ptr,
{ {
int64_t i = 0; int64_t i = 0;
JS_ToBigInt64 (ptr.context, std::addressof (i), ptr.value); JS_ToBigInt64 (ptr.context, std::addressof (i), ptr.value);
return i; return var((juce::int64)i);
}if(JS_IsInteger(ptr.value)) }if(JS_IsInteger(ptr.value))
{ {
int32_t i = 0; int32_t i = 0;