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

index 99279a8a6024b512c193a62e070ef486a5263eba..cba95c8609aa34e59fd95f358cea4204c639f716 100644 (file)
@@ -88,7 +88,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); \
                } \
        }\