diff options
author | joerg <joerg@pkgsrc.org> | 2007-07-31 13:21:46 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-07-31 13:21:46 +0000 |
commit | 00b7a0060c50705da7f020504fd0f9316839f38a (patch) | |
tree | fd66ba77fa1e5207cc634c09e81621d60c1f2c3d /devel/bmake | |
parent | b950be970c4490dd51ac525097683b6535f9f606 (diff) | |
download | pkgsrc-00b7a0060c50705da7f020504fd0f9316839f38a.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.h | 4 |
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 */ |