Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/sys/sys Pull up following revision(s) (requested by rmind...
details: https://anonhg.NetBSD.org/src/rev/4e5e76704288
branches: netbsd-6
changeset: 775744:4e5e76704288
user: riz <riz%NetBSD.org@localhost>
date: Sun Mar 31 17:30:20 2013 +0000
description:
Pull up following revision(s) (requested by rmind in ticket #851):
sys/sys/ptree.h: revision 1.5
Cast constants to the appropriate type.
diffstat:
sys/sys/ptree.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r 8fa2a16b4c80 -r 4e5e76704288 sys/sys/ptree.h
--- a/sys/sys/ptree.h Sat Mar 30 23:12:24 2013 +0000
+++ b/sys/sys/ptree.h Sun Mar 31 17:30:20 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ptree.h,v 1.4.8.3 2012/11/24 18:15:22 jdc Exp $ */
+/* $NetBSD: ptree.h,v 1.4.8.4 2013/03/31 17:30:20 riz Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -54,9 +54,9 @@
#define PT_SLOT_ROOT 0u
#define PT_SLOT_OTHER 1u
#define PT_SLOT_ODDMAN 1u
-#define PT_TYPE_LEAF 0x00000000u
-#define PT_TYPE_BRANCH 0x00000001u
-#define PT_TYPE_MASK 0x00000001u
+#define PT_TYPE_LEAF ((uintptr_t)0x00000000u)
+#define PT_TYPE_BRANCH ((uintptr_t)0x00000001u)
+#define PT_TYPE_MASK ((uintptr_t)0x00000001u)
#endif /* _PT_PRIVATE */
uint32_t ptn_nodedata;
Home |
Main Index |
Thread Index |
Old Index