rrichards               Mon Sep 22 15:30:59 2008 UTC

  Modified files:              
    /php-src/ext/gd     gd.c 
  Log:
  sz is long not zval**
  
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/gd.c?r1=1.393&r2=1.394&diff_format=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.393 php-src/ext/gd/gd.c:1.394
--- php-src/ext/gd/gd.c:1.393   Fri Aug 29 11:09:05 2008
+++ php-src/ext/gd/gd.c Mon Sep 22 15:30:59 2008
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: gd.c,v 1.393 2008/08/29 11:09:05 pajoye Exp $ */
+/* $Id: gd.c,v 1.394 2008/09/22 15:30:59 rrichards Exp $ */
 
 /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
    Cold Spring Harbor Labs. */
@@ -4231,10 +4231,10 @@
        /*
        printf("%d %d %d %d\n", str_bbox.llx, str_bbox.lly, str_bbox.urx, 
str_bbox.ury);
        */
-       add_next_index_long(return_value, (int) ceil(((double) 
str_bbox.llx)*Z_LVAL_PP(sz)/1000));
-       add_next_index_long(return_value, (int) ceil(((double) 
str_bbox.lly)*Z_LVAL_PP(sz)/1000));
-       add_next_index_long(return_value, (int) ceil(((double) 
str_bbox.urx)*Z_LVAL_PP(sz)/1000));
-       add_next_index_long(return_value, (int) ceil(((double) 
str_bbox.ury)*Z_LVAL_PP(sz)/1000));
+       add_next_index_long(return_value, (int) ceil(((double) 
str_bbox.llx)*sz/1000));
+       add_next_index_long(return_value, (int) ceil(((double) 
str_bbox.lly)*sz/1000));
+       add_next_index_long(return_value, (int) ceil(((double) 
str_bbox.urx)*sz/1000));
+       add_next_index_long(return_value, (int) ceil(((double) 
str_bbox.ury)*sz/1000));
 }
 /* }}} */
 #endif



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to