From 466465b332fc6c65d690705acdaea23b6e91a955 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Wed, 3 Apr 2002 05:29:35 +0000 Subject: [PATCH] On second thought ... I can see some weird sign bit magic messing this up on some hypothetical CPU... better to cast the net expression. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94410 13f79535-47bb-0310-9956-ffa450edef68 --- modules/experimental/cache_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/experimental/cache_util.c b/modules/experimental/cache_util.c index 81fe91b560..530a9c340e 100644 --- a/modules/experimental/cache_util.c +++ b/modules/experimental/cache_util.c @@ -243,7 +243,7 @@ CACHE_DECLARE(void) ap_cache_msec2hex(apr_time_t j, char *y) int i, ch; for (i = (sizeof(j) * 2)-1; i >= 0; i--) { - ch = (int)j & 0xF; + ch = (int)(j & 0xF); j >>= 4; if (ch >= 10) y[i] = ch + ('A' - 10); -- 2.40.0