summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/include
diff options
context:
space:
mode:
authorMichael Brown2005-05-09 16:26:25 +0200
committerMichael Brown2005-05-09 16:26:25 +0200
commit116f17f605cbb25e95fe23c88ee7ad29c2d74b27 (patch)
tree83c74ecd74b8df6a1011067b83083ea2a02bf5f9 /src/arch/i386/include
parentReturn -1 to indicate buffer overflow. Allow buffer fill level to be read (diff)
downloadipxe-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.h22
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 */