diff options
author | Michael Brown | 2005-05-09 16:26:25 +0200 |
---|---|---|
committer | Michael Brown | 2005-05-09 16:26:25 +0200 |
commit | 116f17f605cbb25e95fe23c88ee7ad29c2d74b27 (patch) | |
tree | 83c74ecd74b8df6a1011067b83083ea2a02bf5f9 /src/arch/i386/include | |
parent | Return -1 to indicate buffer overflow. Allow buffer fill level to be read (diff) | |
download | ipxe-116f17f605cbb25e95fe23c88ee7ad29c2d74b27.tar.gz ipxe-116f17f605cbb25e95fe23c88ee7ad29c2d74b27.tar.xz ipxe-116f17f605cbb25e95fe23c88ee7ad29c2d74b27.zip |
off_t should be signed.
Diffstat (limited to 'src/arch/i386/include')
-rw-r--r-- | src/arch/i386/include/stdint.h | 22 |
1 files 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 */ |