off_t should be signed.
authorMichael Brown <mcb30@etherboot.org>
Mon, 9 May 2005 14:26:25 +0000 (14:26 +0000)
committerMichael Brown <mcb30@etherboot.org>
Mon, 9 May 2005 14:26:25 +0000 (14:26 +0000)
src/arch/i386/include/stdint.h

index f56e913..b9ade4e 100644 (file)
@@ -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 */