Avoid gcc-5 conversion warning (|= expands to int)
This commit is contained in:
parent
c7894c4458
commit
b4f0f90a59
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: exec.c,v 1.29 2013/07/16 17:47:43 christos Exp $ */
|
/* $NetBSD: exec.c,v 1.30 2016/03/16 22:25:05 christos Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1980, 1991, 1993
|
* Copyright (c) 1980, 1991, 1993
|
||||||
@ -34,7 +34,7 @@
|
|||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)exec.c 8.3 (Berkeley) 5/23/95";
|
static char sccsid[] = "@(#)exec.c 8.3 (Berkeley) 5/23/95";
|
||||||
#else
|
#else
|
||||||
__RCSID("$NetBSD: exec.c,v 1.29 2013/07/16 17:47:43 christos Exp $");
|
__RCSID("$NetBSD: exec.c,v 1.30 2016/03/16 22:25:05 christos Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
@ -91,7 +91,8 @@ static unsigned char xhash[HSHSIZ / 8];
|
|||||||
|
|
||||||
#define hash(a, b) (((a) * HSHMUL + (b)) & HSHMASK)
|
#define hash(a, b) (((a) * HSHMUL + (b)) & HSHMASK)
|
||||||
#define bit(h, b) ((h)[(b) >> 3] & 1 << ((b) & 7)) /* bit test */
|
#define bit(h, b) ((h)[(b) >> 3] & 1 << ((b) & 7)) /* bit test */
|
||||||
#define bis(h, b) ((h)[(b) >> 3] |= (unsigned char)(1 << ((b) & 7))) /* bit set */
|
#define bis(h, b) ((h)[(b) >> 3] = \
|
||||||
|
(unsigned char)((1 << ((b) & 7)) | (h)[(b) >> 3]))/* bit set */
|
||||||
static int hits, misses;
|
static int hits, misses;
|
||||||
|
|
||||||
/* Dummy search path for just absolute search when no path */
|
/* Dummy search path for just absolute search when no path */
|
||||||
|
Loading…
Reference in New Issue
Block a user