]> granicus.if.org Git - apache/blobdiff - modules/aaa/mod_auth_digest.c
kill a warning on Darwin for NONCE_LEN becoming a long int by math.
[apache] / 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