From: Antony Dovgal Date: Thu, 10 May 2007 21:52:10 +0000 (+0000) Subject: %d -> %ld X-Git-Tag: php-5.2.3RC1~119 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d8567b83bc5f9c24f7ab83634ec63842954b4b2;p=php %d -> %ld --- 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);