summaryrefslogtreecommitdiff
path: root/ext/soap/php_http.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-05-10 21:52:10 (GMT)
committerAntony Dovgal <tony2001@php.net>2007-05-10 21:52:10 (GMT)
commit5d8567b83bc5f9c24f7ab83634ec63842954b4b2 (patch)
tree737eb515553d237d4e0e74c3cc0a4998a35f114c /ext/soap/php_http.c
parent51e0891f0ba5828233e418b8e04ea5d7b33482e8 (diff)
downloadphp-5d8567b83bc5f9c24f7ab83634ec63842954b4b2.tar.gz
%d -> %ld
Diffstat (limited to 'ext/soap/php_http.c')
-rw-r--r--ext/soap/php_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/php_http.c b/ext/soap/php_http.c
index b487772..e59934d 100644
--- a/ext/soap/php_http.c
+++ b/ext/soap/php_http.c
@@ -472,7 +472,7 @@ try_again:
unsigned char hash[16];
PHP_MD5Init(&md5ctx);
- snprintf(cnonce, sizeof(cnonce), "%d", php_rand(TSRMLS_C));
+ snprintf(cnonce, sizeof(cnonce), "%ld", php_rand(TSRMLS_C));
PHP_MD5Update(&md5ctx, (unsigned char*)cnonce, strlen(cnonce));
PHP_MD5Final(hash, &md5ctx);
make_digest(cnonce, hash);