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:
parent
f9d45f22db
commit
9550c870a2
1 changed files with 1 additions and 1 deletions
|
|
@ -253,7 +253,7 @@ static var tryQuickJSToJuce (const qjs::QuickJSContext::ValuePtr& ptr,
|
|||
{
|
||||
int64_t i = 0;
|
||||
JS_ToBigInt64 (ptr.context, std::addressof (i), ptr.value);
|
||||
return i;
|
||||
return var((juce::int64)i);
|
||||
}if(JS_IsInteger(ptr.value))
|
||||
{
|
||||
int32_t i = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue