diff options
| author | Anatol Belski <ab@php.net> | 2014-10-27 17:04:44 +0100 |
|---|---|---|
| committer | Anatol Belski <ab@php.net> | 2014-10-27 17:04:44 +0100 |
| commit | 390182d8e662dde0d81e51acbbec3812aa8978ed (patch) | |
| tree | fe9409d3413e3d6428c17d0c3f96124b9f81b3ff /main/spprintf.c | |
| parent | 868dbf609bfd5eb72f55b2e26ed7a0231b10a647 (diff) | |
| download | php-git-390182d8e662dde0d81e51acbbec3812aa8978ed.tar.gz | |
fix datatype mismatch warning
Diffstat (limited to 'main/spprintf.c')
| -rw-r--r-- | main/spprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/spprintf.c b/main/spprintf.c index cf730dd964..1fcce9df18 100644 --- a/main/spprintf.c +++ b/main/spprintf.c @@ -725,7 +725,7 @@ static void xbuf_format_converter(void *xbuf, zend_bool is_char, const char *fmt case 'n': - *(va_arg(ap, int *)) = is_char? ((smart_string *)xbuf)->len : ((smart_str *)xbuf)->s->len; + *(va_arg(ap, int *)) = is_char? (int)((smart_string *)xbuf)->len : (int)((smart_str *)xbuf)->s->len; goto skip_output; /* |
