summaryrefslogtreecommitdiff
path: root/devel/bmake
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-07-31 13:21:46 +0000
committerjoerg <joerg@pkgsrc.org>2007-07-31 13:21:46 +0000
commit53ac9a8b3b362d87afe69715aeac1ba519522eef (patch)
treefd66ba77fa1e5207cc634c09e81621d60c1f2c3d /devel/bmake
parent0e17f7149786b572721f94161f2057c90293591e (diff)
downloadpkgsrc-53ac9a8b3b362d87afe69715aeac1ba519522eef.tar.gz
Use unsigned for bitfield as fields take up the full size.
Complained on by xlC.
Diffstat (limited to 'devel/bmake')
-rw-r--r--devel/bmake/files/lst.lib/lstInt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/bmake/files/lst.lib/lstInt.h b/devel/bmake/files/lst.lib/lstInt.h
index 69ac2e1b3db..f0397d0fce4 100644
--- a/devel/bmake/files/lst.lib/lstInt.h
+++ b/devel/bmake/files/lst.lib/lstInt.h
@@ -1,4 +1,4 @@
-/* $NetBSD: lstInt.h,v 1.1.1.1 2005/12/02 00:03:00 sjg Exp $ */
+/* $NetBSD: lstInt.h,v 1.2 2007/07/31 13:21:46 joerg Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -47,7 +47,7 @@
typedef struct ListNode {
struct ListNode *prevPtr; /* previous element in list */
struct ListNode *nextPtr; /* next in list */
- short useCount:8, /* Count of functions using the node.
+ unsigned short useCount:8, /* Count of functions using the node.
* node may not be deleted until count
* goes to 0 */
flags:8; /* Node status flags */