From e8769fc0a0cacf1d05192ea5864f9c747167ae39 Mon Sep 17 00:00:00 2001 From: fvdl Date: Sun, 31 Aug 2003 23:24:04 +0000 Subject: [PATCH] Update a few types and formats. --- sys/arch/amd64/include/int_fmtio.h | 8 ++++---- sys/arch/amd64/include/int_mwgwtypes.h | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/arch/amd64/include/int_fmtio.h b/sys/arch/amd64/include/int_fmtio.h index 1c9a514cccba..2e98d1934425 100644 --- a/sys/arch/amd64/include/int_fmtio.h +++ b/sys/arch/amd64/include/int_fmtio.h @@ -1,4 +1,4 @@ -/* $NetBSD: int_fmtio.h,v 1.1 2003/04/26 18:39:42 fvdl Exp $ */ +/* $NetBSD: int_fmtio.h,v 1.2 2003/08/31 23:24:04 fvdl Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -157,7 +157,7 @@ #define SCNi8 "hhi" /* int8_t */ #define SCNi16 "hi" /* int16_t */ #define SCNi32 "i" /* int32_t */ -#define SCNi64 "lli" /* int64_t */ +#define SCNi64 "li" /* int64_t */ #define SCNiLEAST8 "hhi" /* int_least8_t */ #define SCNiLEAST16 "hi" /* int_least16_t */ #define SCNiLEAST32 "i" /* int_least32_t */ @@ -209,8 +209,8 @@ #define SCNxLEAST16 "hx" /* uint_least16_t */ #define SCNxLEAST32 "x" /* uint_least32_t */ #define SCNxLEAST64 "lx" /* uint_least64_t */ -#define SCNxFAST8 "x" /* uint_fast8_t */ -#define SCNxFAST16 "x" /* uint_fast16_t */ +#define SCNxFAST8 "hhx" /* uint_fast8_t */ +#define SCNxFAST16 "hx" /* uint_fast16_t */ #define SCNxFAST32 "x" /* uint_fast32_t */ #define SCNxFAST64 "lx" /* uint_fast64_t */ #define SCNxMAX "lx" /* uintmax_t */ diff --git a/sys/arch/amd64/include/int_mwgwtypes.h b/sys/arch/amd64/include/int_mwgwtypes.h index 1de1d793dc0e..7bc5a0a00b9d 100644 --- a/sys/arch/amd64/include/int_mwgwtypes.h +++ b/sys/arch/amd64/include/int_mwgwtypes.h @@ -1,4 +1,4 @@ -/* $NetBSD: int_mwgwtypes.h,v 1.1 2003/04/26 18:39:42 fvdl Exp $ */ +/* $NetBSD: int_mwgwtypes.h,v 1.2 2003/08/31 23:24:04 fvdl Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -55,10 +55,10 @@ typedef long int int_least64_t; typedef unsigned long int uint_least64_t; /* 7.18.1.3 Fastest minimum-width integer types */ -typedef int int_fast8_t; -typedef unsigned int uint_fast8_t; -typedef int int_fast16_t; -typedef unsigned int uint_fast16_t; +typedef __signed char int_fast8_t; +typedef unsigned char uint_fast8_t; +typedef short int_fast16_t; +typedef unsigned short uint_fast16_t; typedef int int_fast32_t; typedef unsigned int uint_fast32_t; typedef long int int_fast64_t;