Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6-0]: src/sys/sys Pull up following revision(s) (requested by rmi...



details:   https://anonhg.NetBSD.org/src/rev/af4b7a6cfe03
branches:  netbsd-6-0
changeset: 774784:af4b7a6cfe03
user:      riz <riz%NetBSD.org@localhost>
date:      Sun Mar 31 17:30:34 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 c6585438ac53 -r af4b7a6cfe03 sys/sys/ptree.h
--- a/sys/sys/ptree.h   Fri Mar 29 00:52:23 2013 +0000
+++ b/sys/sys/ptree.h   Sun Mar 31 17:30:34 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ptree.h,v 1.4.8.2 2012/07/16 22:10:47 riz Exp $        */
+/*     $NetBSD: ptree.h,v 1.4.8.2.4.1 2013/03/31 17:30:34 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