diff options
| author | Anatol Belski <ab@php.net> | 2014-08-16 11:37:14 +0200 |
|---|---|---|
| committer | Anatol Belski <ab@php.net> | 2014-08-16 11:37:14 +0200 |
| commit | cb25136f4ef1042295650475b2c20ace81e2b9b7 (patch) | |
| tree | 9d6a509c80f2ac1e094cd9d42772654781a79715 /ext/standard/php_smart_str.h | |
| parent | f790043e30513c56f108289ec44ea6eb493f7773 (diff) | |
| download | php-git-cb25136f4ef1042295650475b2c20ace81e2b9b7.tar.gz | |
fix macros in the 5 basic extensions
Diffstat (limited to 'ext/standard/php_smart_str.h')
| -rw-r--r-- | ext/standard/php_smart_str.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/php_smart_str.h b/ext/standard/php_smart_str.h index 71bcf0b223..2c8c966540 100644 --- a/ext/standard/php_smart_str.h +++ b/ext/standard/php_smart_str.h @@ -91,8 +91,8 @@ smart_str_appendl_ex((dest), (src), (len), 0) #define smart_str_append(dest, src) \ smart_str_append_ex((dest), (src), 0) -#define smart_str_append_long(dest, val) \ - smart_str_append_long_ex((dest), (val), 0) +#define smart_str_append_int(dest, val) \ + smart_str_append_int_ex((dest), (val), 0) #define smart_str_append_off_t(dest, val) \ smart_str_append_off_t_ex((dest), (val), 0) #define smart_str_append_unsigned(dest, val) \ @@ -152,7 +152,7 @@ static inline char *smart_str_print_unsigned(char *buf, long num) { #define smart_str_append_unsigned_ex(dest, num, type) \ smart_str_append_generic_ex((dest), (num), (type), unsigned long, _unsigned) -#define smart_str_append_long_ex(dest, num, type) \ +#define smart_str_append_int_ex(dest, num, type) \ smart_str_append_generic_ex((dest), (num), (type), unsigned long, _signed) #define smart_str_append_off_t_ex(dest, num, type) \ |
