From: Yann Ylavic Date: Tue, 16 Jul 2024 15:56:54 +0000 (+0000) Subject: core: Improve AP_REQUEST_ #defines. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07c50195643ddb3ca8f58a010c7d6ff4645c5675;p=thirdparty%2Fapache%2Fhttpd.git core: Improve AP_REQUEST_ #defines. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919290 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/httpd.h b/include/httpd.h index c02b3b7849b..9a9d922c40c 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