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 intptr_t and uintptr_t are not long any...



details:   https://anonhg.NetBSD.org/src/rev/3d7d96524647
branches:  trunk
changeset: 801691:3d7d96524647
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Aug 14 09:17:32 2014 +0000

description:
intptr_t and uintptr_t are not long any more.

diffstat:

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

diffs (27 lines):

diff -r 2b74f0b64161 -r 3d7d96524647 sys/arch/vax/include/int_fmtio.h
--- a/sys/arch/vax/include/int_fmtio.h  Thu Aug 14 09:02:18 2014 +0000
+++ b/sys/arch/vax/include/int_fmtio.h  Thu Aug 14 09:17:32 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: int_fmtio.h,v 1.5 2014/08/13 19:48:17 matt Exp $       */
+/*     $NetBSD: int_fmtio.h,v 1.6 2014/08/14 09:17:32 martin Exp $     */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -69,7 +69,7 @@
 #define        PRIiFAST32      "i"     /* int_fast32_t         */
 #define        PRIiFAST64      "lli"   /* int_fast64_t         */
 #define        PRIiMAX         "lli"   /* intmax_t             */
-#define        PRIiPTR         "li"    /* intptr_t             */
+#define        PRIiPTR         "i"     /* intptr_t             */
 
 /* fprintf macros for unsigned integers */
 
@@ -101,7 +101,7 @@
 #define        PRIuFAST32      "u"     /* uint_fast32_t        */
 #define        PRIuFAST64      "llu"   /* uint_fast64_t        */
 #define        PRIuMAX         "llu"   /* uintmax_t            */
-#define        PRIuPTR         "lu"    /* uintptr_t            */
+#define        PRIuPTR         "u"     /* uintptr_t            */
 
 #define        PRIx8           "x"     /* uint8_t              */
 #define        PRIx16          "x"     /* uint16_t             */



Home | Main Index | Thread Index | Old Index