]> granicus.if.org Git - php/commitdiff
fix types
authorAnatol Belski <ab@php.net>
Mon, 15 Sep 2014 16:05:58 +0000 (18:05 +0200)
committerAnatol Belski <ab@php.net>
Mon, 15 Sep 2014 17:46:32 +0000 (19:46 +0200)
ext/standard/php_smart_string.h

index 91530d94d3838737337ce3c3e7ae47d2c9c44c18..1e0af71533a9dbb1574a1b9ff46e255ec91300e0 100644 (file)
 
 static inline char *smart_string_print_long(char *buf, zend_long num) {
        char *r; 
-       _zend_print_signed_to_buf(buf, num, unsigned long, r); 
+       _zend_print_signed_to_buf(buf, num, zend_long, r);
        return r;
 }
 
 static inline char *smart_string_print_unsigned(char *buf, zend_long num) {
        char *r; 
-       _zend_print_unsigned_to_buf(buf, num, unsigned long, r); 
+       _zend_print_unsigned_to_buf(buf, num, zend_ulong, r);
        return r;
 }
 
@@ -139,13 +139,13 @@ static inline char *smart_string_print_unsigned(char *buf, zend_long num) {
 } while (0)
        
 #define smart_string_append_unsigned_ex(dest, num, type) \
-       smart_string_append_generic_ex((dest), (num), (type), unsigned long, _unsigned)
+       smart_string_append_generic_ex((dest), (num), (type), zend_ulong, _unsigned)
 
 #define smart_string_append_long_ex(dest, num, type) \
-       smart_string_append_generic_ex((dest), (num), (type), unsigned long, _signed)
+       smart_string_append_generic_ex((dest), (num), (type), zend_ulong, _signed)
 
 #define smart_string_append_off_t_ex(dest, num, type) \
-       smart_string_append_generic_ex((dest), (num), (type), off_t, _signed)
+       smart_string_append_generic_ex((dest), (num), (type), zend_off_t, _signed)
 
 #define smart_string_append_ex(dest, src, what) \
        smart_string_appendl_ex((dest), ((smart_string *)(src))->c, \