com php-src: fix types: ext/standard/php_smart_string.h
| From: | Anatol Belski | Date: | Mon, 15 Sep 2014 17:46:32 +0000 |
| Subject: | com php-src: fix types: ext/standard/php_smart_string.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81655@lists.php.net to get a copy of this message | ||
Commit: 066d39020bc15ae418bc309e791c7788708d9e60
Author: Anatol Belski <ab@php.net> Mon, 15 Sep 2014 18:05:58 +0200
Parents: dc37e089e3bcbe4548bf9093251b0f0ee4823844
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=066d39020bc15ae418bc309e791c7788708d9e60
Log:
fix types
Changed paths:
M ext/standard/php_smart_string.h
Diff:
diff --git a/ext/standard/php_smart_string.h b/ext/standard/php_smart_string.h
index 91530d9..1e0af71 100644
--- a/ext/standard/php_smart_string.h
+++ b/ext/standard/php_smart_string.h
@@ -121,13 +121,13 @@
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, \