Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/include fix wrong integer promotion rule(remove...



details:   https://anonhg.NetBSD.org/src/rev/29217216d3a7
branches:  trunk
changeset: 755239:29217216d3a7
user:      tnozaki <tnozaki%NetBSD.org@localhost>
date:      Sat May 29 17:45:15 2010 +0000

description:
fix wrong integer promotion rule(removed U suffix from UINT{8,16}_C).
see ISO/IEC 9899:1999 7.18.4.3.

diffstat:

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

diffs (20 lines):

diff -r ac8b569fdc05 -r 29217216d3a7 sys/arch/vax/include/int_const.h
--- a/sys/arch/vax/include/int_const.h  Sat May 29 17:39:41 2010 +0000
+++ b/sys/arch/vax/include/int_const.h  Sat May 29 17:45:15 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_const.h,v 1.2 2008/04/28 20:23:39 martin Exp $     */
+/*     $NetBSD: int_const.h,v 1.3 2010/05/29 17:45:15 tnozaki Exp $    */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -43,8 +43,8 @@
 #define        INT32_C(c)      c
 #define        INT64_C(c)      c ## LL
 
-#define        UINT8_C(c)      c ## U
-#define        UINT16_C(c)     c ## U
+#define        UINT8_C(c)      c
+#define        UINT16_C(c)     c
 #define        UINT32_C(c)     c ## U
 #define        UINT64_C(c)     c ## ULL
 



Home | Main Index | Thread Index | Old Index