From 116f17f605cbb25e95fe23c88ee7ad29c2d74b27 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 9 May 2005 14:26:25 +0000 Subject: [PATCH] off_t should be signed. --- src/arch/i386/include/stdint.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/arch/i386/include/stdint.h b/src/arch/i386/include/stdint.h index f56e9133..b9ade4e0 100644 --- a/src/arch/i386/include/stdint.h +++ b/src/arch/i386/include/stdint.h @@ -1,19 +1,19 @@ #ifndef STDINT_H #define STDINT_H -typedef unsigned size_t; -typedef unsigned off_t; +typedef unsigned long size_t; +typedef signed long off_t; -typedef unsigned char uint8_t; -typedef unsigned short uint16_t; -typedef unsigned long uint32_t; -typedef unsigned long long uint64_t; +typedef unsigned char uint8_t; +typedef unsigned short uint16_t; +typedef unsigned long uint32_t; +typedef unsigned long long uint64_t; -typedef signed char int8_t; -typedef signed short int16_t; -typedef signed long int32_t; -typedef signed long long int64_t; +typedef signed char int8_t; +typedef signed short int16_t; +typedef signed long int32_t; +typedef signed long long int64_t; -typedef unsigned long physaddr_t; +typedef unsigned long physaddr_t; #endif /* STDINT_H */