]> granicus.if.org Git - php/commitdiff
add missing )
authorSterling Hughes <sterling@php.net>
Thu, 6 Sep 2001 07:33:45 +0000 (07:33 +0000)
committerSterling Hughes <sterling@php.net>
Thu, 6 Sep 2001 07:33:45 +0000 (07:33 +0000)
ext/standard/rand.c

index 14982f5d0286a86fd099c2b8fa3bf744fd31c61a..144fefce225f96f4381275da86844f812c872614 100644 (file)
@@ -245,7 +245,7 @@ PHP_FUNCTION(mt_srand)
  * -RL
  */    
 #define RAND_RANGE(__n, __min, __max) \
-       (__n) = (__min) + (long) ((double) ((__max) - (__min) + 1.0)) * ((__n) / (PHP_RAND_MAX + 1.0))
+       (__n) = (__min) + (long) ((double) ((__max) - (__min) + 1.0) * ((__n) / (PHP_RAND_MAX + 1.0)))
 
 /* {{{ proto int rand([int min, int max])
    Returns a random number */