]> granicus.if.org Git - apache/commitdiff
This shift was treated in 32 bit scope, then masked to 64 bits,
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 20 Dec 2005 17:10:38 +0000 (17:10 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 20 Dec 2005 17:10:38 +0000 (17:10 +0000)
  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

index 586f80bf433b48fb49bfc4213fbcbba310fd5b81..edce66563c4bb95ba8f8fa48470f5d146cacf865 100644 (file)
@@ -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;