Module Name: src
Committed By: tnozaki
Date: Sat May 29 17:45:15 UTC 2010
Modified Files:
src/sys/arch/vax/include: int_const.h
Log Message:
fix wrong integer promotion rule(removed U suffix from UINT{8,16}_C).
see ISO/IEC 9899:1999 7.18.4.3.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/vax/include/int_const.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/vax/include/int_const.h
diff -u src/sys/arch/vax/include/int_const.h:1.2 src/sys/arch/vax/include/int_const.h:1.3
--- src/sys/arch/vax/include/int_const.h:1.2 Mon Apr 28 20:23:39 2008
+++ src/sys/arch/vax/include/int_const.h Sat May 29 17:45:15 2010
@@ -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