pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/bmake/files/lst.lib Use unsigned for bitfield as...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d77df9c044ea
branches: trunk
changeset: 531480:d77df9c044ea
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Jul 31 13:21:46 2007 +0000
description:
Use unsigned for bitfield as fields take up the full size.
Complained on by xlC.
diffstat:
devel/bmake/files/lst.lib/lstInt.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 7fc3197b94e5 -r d77df9c044ea devel/bmake/files/lst.lib/lstInt.h
--- a/devel/bmake/files/lst.lib/lstInt.h Tue Jul 31 13:17:33 2007 +0000
+++ b/devel/bmake/files/lst.lib/lstInt.h Tue Jul 31 13:21:46 2007 +0000
@@ -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 */
Home |
Main Index |
Thread Index |
Old Index