From: Igor Sysoev Date: Mon, 28 Mar 2016 14:34:42 +0000 (+0300) Subject: Fixed building on Solaris by SunC. X-Git-Tag: 0.1.0~40 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=aef354ad54e697487157674f1a815bfa27c8b6ad;p=njs.git Fixed building on Solaris by SunC. --- diff --git a/njs/njs_math.c b/njs/njs_math.c index 1473e3d0..17e25464 100644 --- a/njs/njs_math.c +++ b/njs/njs_math.c @@ -536,7 +536,7 @@ static const njs_object_prop_t njs_math_object_properties[] = { .type = NJS_METHOD, .name = njs_string("random"), - .value = njs_native_function(njs_object_math_random, 0, ), + .value = njs_native_function(njs_object_math_random, 0, 0), }, {