summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2005-12-20 17:10:38 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2005-12-20 17:10:38 +0000
commit783d5b0dc1fd9da7c8576907f4faaa8b3454623e (patch)
treef27d27fa758b6b045f98436001bb845329d58bd3
parentd4f879aefa6636f1289b62db6068ee8289dcd8cb (diff)
downloadhttpd-783d5b0dc1fd9da7c8576907f4faaa8b3454623e.tar.gz
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
-rw-r--r--modules/aaa/mod_authnz_ldap.c2
1 files changed, 1 insertions, 1 deletions
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;