andrey          Wed May 27 15:04:55 2009 UTC

  Modified files:              
    /php-src/ext/mysqli mysqli_prop.c 
  Log:
  Additional revert
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/mysqli_prop.c?r1=1.44&r2=1.45&diff_format=u
Index: php-src/ext/mysqli/mysqli_prop.c
diff -u php-src/ext/mysqli/mysqli_prop.c:1.44 
php-src/ext/mysqli/mysqli_prop.c:1.45
--- php-src/ext/mysqli/mysqli_prop.c:1.44       Wed May 27 14:16:00 2009
+++ php-src/ext/mysqli/mysqli_prop.c    Wed May 27 15:04:55 2009
@@ -17,7 +17,7 @@
   |          Ulf Wendel <u...@php.net>                                     |
   +----------------------------------------------------------------------+
 
-  $Id: mysqli_prop.c,v 1.44 2009/05/27 14:16:00 andrey Exp $ 
+  $Id: mysqli_prop.c,v 1.45 2009/05/27 15:04:55 andrey Exp $ 
 */
 
 #ifdef HAVE_CONFIG_H
@@ -85,7 +85,7 @@
        } else {\
                l = (__ret_type)__int_func(p);\
                if (l < LONG_MAX) {\
-                       ZVAL_LONG(*retval, (long) l);\
+                       ZVAL_LONG(*retval, l);\
                } else { \
                        char *ret; \
                        int ret_len = spprintf(&ret, 0, __ret_type_sprint_mod, 
l); \
@@ -171,7 +171,7 @@
        } else {
                CHECK_STATUS(MYSQLI_STATUS_VALID);
 
-               rc = (my_ulonglong) mysql_affected_rows(mysql->mysql);
+               rc = mysql_affected_rows(mysql->mysql);
 
                if (rc == (my_ulonglong) -1) {
                        ZVAL_LONG(*retval, -1);
@@ -288,7 +288,7 @@
        if (!p) {
                ZVAL_NULL(*retval);
        } else {
-               rc = (my_ulonglong) mysql_stmt_affected_rows(p->stmt);
+               rc = mysql_stmt_affected_rows(p->stmt);
        
                if (rc == (my_ulonglong) -1) {
                        ZVAL_LONG(*retval, -1);



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

Reply via email to