Skip to content

Commit 9550c87

Browse files
committed
fix linux compil, var ambiguity
1 parent f9d45f2 commit 9550c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/juce_javascript/detail/juce_QuickJSHelpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ static var tryQuickJSToJuce (const qjs::QuickJSContext::ValuePtr& ptr,
253253
{
254254
int64_t i = 0;
255255
JS_ToBigInt64 (ptr.context, std::addressof (i), ptr.value);
256-
return i;
256+
return var((juce::int64)i);
257257
}if(JS_IsInteger(ptr.value))
258258
{
259259
int32_t i = 0;

0 commit comments

Comments
 (0)