]> granicus.if.org Git - apache/commitdiff
kill a warning on Darwin for NONCE_LEN becoming a long int by math.
authorRoy T. Fielding <fielding@apache.org>
Sun, 28 Apr 2002 09:02:19 +0000 (09:02 +0000)
committerRoy T. Fielding <fielding@apache.org>
Sun, 28 Apr 2002 09:02:19 +0000 (09:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94833 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_auth_digest.c

index f118ab30dea0d7c92b5ea2dde0d322905c0fab23..2159d5a3b4ebf0760314dc6801562fdfad6e3ead 100644 (file)
@@ -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