From 108504ab8b3a29f5c1108e80c0a62e473bf235e6 Mon Sep 17 00:00:00 2001 From: "Roy T. Fielding" Date: Sun, 28 Apr 2002 09:02:19 +0000 Subject: [PATCH] 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 --- modules/aaa/mod_auth_digest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/aaa/mod_auth_digest.c b/modules/aaa/mod_auth_digest.c index f118ab30de..2159d5a3b4 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 -- 2.40.0