[njs] Fixed building on Solaris by SunC.

Igor Sysoev igor at sysoev.ru
Mon Mar 28 14:38:26 UTC 2016


details:   http://hg.nginx.org/njs/rev/f674bd8a8b76
branches:  
changeset: 92:f674bd8a8b76
user:      Igor Sysoev <igor at sysoev.ru>
date:      Mon Mar 28 17:34:42 2016 +0300
description:
Fixed building on Solaris by SunC.

diffstat:

 njs/njs_math.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 0354cdd7d114 -r f674bd8a8b76 njs/njs_math.c
--- a/njs/njs_math.c	Thu Mar 24 17:13:27 2016 +0300
+++ b/njs/njs_math.c	Mon Mar 28 17:34:42 2016 +0300
@@ -536,7 +536,7 @@ static const njs_object_prop_t  njs_math
     {
         .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),
     },
 
     {



More information about the nginx-devel mailing list