From: Roy T. Fielding Date: Sun, 28 Apr 2002 09:02:19 +0000 (+0000) Subject: kill a warning on Darwin for NONCE_LEN becoming a long int by math. X-Git-Tag: 2.0.36~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=108504ab8b3a29f5c1108e80c0a62e473bf235e6;p=thirdparty%2Fapache%2Fhttpd.git kill a warning on Darwin for NONCE_LEN becoming a long int by math. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94833 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/aaa/mod_auth_digest.c b/modules/aaa/mod_auth_digest.c index f118ab30dea..2159d5a3b4e 100644 --- a/modules/aaa/mod_auth_digest.c +++ b/modules/aaa/mod_auth_digest.c @@ -151,7 +151,7 @@ typedef struct digest_config_struct { #define NONCE_TIME_LEN (((sizeof(apr_time_t)+2)/3)*4) #define NONCE_HASH_LEN (2*APR_SHA1_DIGESTSIZE) -#define NONCE_LEN (NONCE_TIME_LEN + NONCE_HASH_LEN) +#define NONCE_LEN (int )(NONCE_TIME_LEN + NONCE_HASH_LEN) #define SECRET_LEN 20