]> granicus.if.org Git - php/commitdiff
MFH: Remove unneeded cast
authorAndrey Hristov <andrey@php.net>
Mon, 10 Nov 2008 20:06:23 +0000 (20:06 +0000)
committerAndrey Hristov <andrey@php.net>
Mon, 10 Nov 2008 20:06:23 +0000 (20:06 +0000)
ext/mysqli/mysqli_prop.c

index f653545ecb938ad8c853041c9b407647470ae5cd..2b85a2a58aa14b7b180659ff906c18c66acc6d72 100644 (file)
@@ -86,7 +86,7 @@ static int __func(mysqli_object *obj, zval **retval TSRMLS_DC) \
                        ZVAL_LONG(*retval, l);\
                } else { \
                        char *ret; \
-                       int ret_len = spprintf(&ret, 0, __ret_type_sprint_mod, (my_ulonglong)l); \
+                       int ret_len = spprintf(&ret, 0, __ret_type_sprint_mod, l); \
                        ZVAL_STRINGL(*retval, ret, ret_len, 0); \
                } \
        }\