diff options
author | Antony Dovgal <tony2001@php.net> | 2007-05-10 21:52:10 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2007-05-10 21:52:10 +0000 |
commit | 5d8567b83bc5f9c24f7ab83634ec63842954b4b2 (patch) | |
tree | 737eb515553d237d4e0e74c3cc0a4998a35f114c /ext/soap/php_http.c | |
parent | 51e0891f0ba5828233e418b8e04ea5d7b33482e8 (diff) | |
download | php-git-5d8567b83bc5f9c24f7ab83634ec63842954b4b2.tar.gz |
%d -> %ld
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 b487772556..e59934dd78 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); |