]> git.kaiwu.me - njs.git/commitdiff
Fixed building on Solaris by SunC.
authorIgor Sysoev <igor@sysoev.ru>
Mon, 28 Mar 2016 14:34:42 +0000 (17:34 +0300)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 28 Mar 2016 14:34:42 +0000 (17:34 +0300)
njs/njs_math.c

index 1473e3d04af88b4803669d9525fa2a484d64ec5b..17e25464a9a93aa14368d94d1faef60ef0827a67 100644 (file)
@@ -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),
     },
 
     {