summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2024-07-16 17:56:54 +0200
committerYann Ylavic <ylavic@apache.org>2024-07-16 17:56:54 +0200
commit07c50195643ddb3ca8f58a010c7d6ff4645c5675 (patch)
tree799f9c276443e3c092b608c112d90e10f17b107a /include
parentMake sure pytest shuts down the web server after each package (diff)
downloadapache2-07c50195643ddb3ca8f58a010c7d6ff4645c5675.tar.xz
apache2-07c50195643ddb3ca8f58a010c7d6ff4645c5675.zip
core: Improve AP_REQUEST_ #defines.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919290 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/httpd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/httpd.h b/include/httpd.h
index c02b3b7849..9a9d922c40 100644
--- a/include/httpd.h
+++ b/include/httpd.h
@@ -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