From aa24da9d42e0dd31c8422c2e682d65bd625275b2 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Tue, 13 Mar 2007 11:58:12 +0000 Subject: [PATCH] * modules/http/http_etag.c (etag_uint64_to_hex): Fix maximum shift size, thanks to Ruediger. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@517654 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_etag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/http/http_etag.c b/modules/http/http_etag.c index 1ebdcb709b..427ebc7828 100644 --- a/modules/http/http_etag.c +++ b/modules/http/http_etag.c @@ -35,7 +35,7 @@ static char *etag_uint64_to_hex(char *next, apr_uint64_t u) { int printing = 0; - int shift = sizeof(unsigned long) * 8 - 4; + int shift = sizeof(apr_uint64_t) * 8 - 4; do { unsigned short next_digit = ((u >> shift) & (apr_uint64_t)0xf); if (next_digit) { -- 2.40.0