diff options
Diffstat (limited to 'Libraries/LibJS/Runtime/MathObject.cpp')
-rw-r--r-- | Libraries/LibJS/Runtime/MathObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/Runtime/MathObject.cpp b/Libraries/LibJS/Runtime/MathObject.cpp index 076715b91a..be65fdc3cc 100644 --- a/Libraries/LibJS/Runtime/MathObject.cpp +++ b/Libraries/LibJS/Runtime/MathObject.cpp @@ -32,7 +32,7 @@ namespace JS { MathObject::MathObject() { - put_native_function("random", [](Object*, const Vector<Value>&) { + put_native_function("random", [](Interpreter&) { #ifdef __serenity__ double r = (double)arc4random() / (double)UINT32_MAX; #else |