]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
core: Improve AP_REQUEST_ #defines.
authorYann Ylavic <ylavic@apache.org>
Tue, 16 Jul 2024 15:56:54 +0000 (15:56 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 16 Jul 2024 15:56:54 +0000 (15:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919290 13f79535-47bb-0310-9956-ffa450edef68

include/httpd.h

index c02b3b7849bb2f43a14782ef39e4f28eac658348..9a9d922c40c0928fdca28c11587f9cf72f1d49c3 100644 (file)
@@ -683,8 +683,8 @@ typedef apr_uint64_t ap_request_bnotes_t;
  * request. There are space for 64 bits in the apr_uint64_t.
  *
  */
-#define AP_REQUEST_STRONG_ETAG 1 >> 0
-#define AP_REQUEST_TRUSTED_CT  1 << 1
+#define AP_REQUEST_STRONG_ETAG (1u << 0)
+#define AP_REQUEST_TRUSTED_CT  (1u << 1)
 
 /**
  * This is a convenience macro to ease with getting specific request