diff options
author | Dmitry Stogov <dmitry@zend.com> | 2016-06-21 16:00:37 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2016-06-21 16:00:37 +0300 |
commit | 16160386982a86e6ec7969c6c89707d38228f19e (patch) | |
tree | 47052539a23ab7d6d2cf79392dd1e47de67bb2f1 /ext/soap/php_http.c | |
parent | 67e23f4be3c01a389043ee97b98d6bcc703d3557 (diff) | |
download | php-git-16160386982a86e6ec7969c6c89707d38228f19e.tar.gz |
Added ZEND_ATTRIBUTE_FORMAT to some middind functions.
"%p" replaced by ZEND_LONG_FMT to avoid compilation warnings.
Fixed most incorrect use cases of format specifiers.
Diffstat (limited to 'ext/soap/php_http.c')
-rw-r--r-- | ext/soap/php_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c index 7c9183613c..26221962d6 100644 --- a/ext/soap/php_http.c +++ b/ext/soap/php_http.c @@ -651,7 +651,7 @@ try_again: if ((tmp = zend_hash_str_find(Z_ARRVAL_P(digest), "nc", sizeof("nc")-1)) != NULL && Z_TYPE_P(tmp) == IS_LONG) { Z_LVAL_P(tmp)++; - snprintf(nc, sizeof(nc), "%08ld", Z_LVAL_P(tmp)); + snprintf(nc, sizeof(nc), "%08" ZEND_LONG_FMT_SPEC, Z_LVAL_P(tmp)); } else { add_assoc_long(digest, "nc", 1); strcpy(nc, "00000001"); |