Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hppa/include fix constant types



details:   https://anonhg.NetBSD.org/src/rev/eb7cc835dc2b
branches:  trunk
changeset: 820749:eb7cc835dc2b
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 14 15:58:11 2017 +0000

description:
fix constant types

diffstat:

 sys/arch/hppa/include/lock.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 8c4d132d35db -r eb7cc835dc2b sys/arch/hppa/include/lock.h
--- a/sys/arch/hppa/include/lock.h      Sat Jan 14 15:50:24 2017 +0000
+++ b/sys/arch/hppa/include/lock.h      Sat Jan 14 15:58:11 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lock.h,v 1.16 2008/04/28 20:23:23 martin Exp $ */
+/*     $NetBSD: lock.h,v 1.17 2017/01/14 15:58:11 christos Exp $       */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -45,8 +45,8 @@
     (volatile unsigned long *)(((uintptr_t)(p) + HPPA_LDCW_ALIGN - 1) & \
     ~(HPPA_LDCW_ALIGN - 1))
 
-#define __SIMPLELOCK_RAW_LOCKED                0
-#define __SIMPLELOCK_RAW_UNLOCKED      1
+#define __SIMPLELOCK_RAW_LOCKED                0UL
+#define __SIMPLELOCK_RAW_UNLOCKED      1UL
 
 static __inline int
 __SIMPLELOCK_LOCKED_P(__cpu_simple_lock_t *__ptr)



Home | Main Index | Thread Index | Old Index