summaryrefslogtreecommitdiff
path: root/devel/gmake/patches/patch-src_hash.c
blob: d911b419dfca13e870113df9729dd41e65d7cdd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-src_hash.c,v 1.4 2021/05/02 19:03:52 wiz Exp $

PCC says: hash.c:326: error: Constant "4294967295" is out of range

--- src/hash.c.orig	2020-06-12 14:40:24.838680043 +0000
+++ src/hash.c
@@ -321,7 +321,7 @@ round_up_2 (unsigned long n)
   n |= (n >> 8);
   n |= (n >> 16);
 
-#if !defined(HAVE_LIMITS_H) || ULONG_MAX > 4294967295
+#if !defined(HAVE_LIMITS_H) || ULONG_MAX > 4294967295ul
   /* We only need this on systems where unsigned long is >32 bits.  */
   n |= (n >> 32);
 #endif