From 783d5b0dc1fd9da7c8576907f4faaa8b3454623e Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Tue, 20 Dec 2005 17:10:38 +0000 Subject: [PATCH] This shift was treated in 32 bit scope, then masked to 64 bits, which was probably quite uncool. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@358040 13f79535-47bb-0310-9956-ffa450edef68 --- modules/aaa/mod_authnz_ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/aaa/mod_authnz_ldap.c b/modules/aaa/mod_authnz_ldap.c index 586f80bf43..edce66563c 100644 --- a/modules/aaa/mod_authnz_ldap.c +++ b/modules/aaa/mod_authnz_ldap.c @@ -576,7 +576,7 @@ static int authz_ldap_check_user_access(request_rec *r) /* Loop through the requirements array until there's no elements * left, or something causes a return from inside the loop */ for(x=0; x < reqs_arr->nelts; x++) { - if (! (reqs[x].method_mask & (1 << m))) { + if (! (reqs[x].method_mask & (APR_INT64_C(1) << m))) { continue; } method_restricted = 1; -- 2.40.0