Browse Source

off_t should be signed.

tags/v0.9.3
Michael Brown 19 years ago
parent
commit
116f17f605
1 changed files with 11 additions and 11 deletions
  1. 11
    11
      src/arch/i386/include/stdint.h

+ 11
- 11
src/arch/i386/include/stdint.h View File

1
 #ifndef STDINT_H
1
 #ifndef STDINT_H
2
 #define STDINT_H
2
 #define STDINT_H
3
 
3
 
4
-typedef unsigned           size_t;
5
-typedef unsigned	   off_t;
4
+typedef unsigned long		size_t;
5
+typedef signed long		off_t;
6
 
6
 
7
-typedef unsigned char      uint8_t;
8
-typedef unsigned short     uint16_t;
9
-typedef unsigned long      uint32_t;
10
-typedef unsigned long long uint64_t;
7
+typedef unsigned char		uint8_t;
8
+typedef unsigned short		uint16_t;
9
+typedef unsigned long		uint32_t;
10
+typedef unsigned long long	uint64_t;
11
 
11
 
12
-typedef signed char        int8_t;
13
-typedef signed short       int16_t;
14
-typedef signed long        int32_t;
15
-typedef signed long long   int64_t;
12
+typedef signed char		int8_t;
13
+typedef signed short		int16_t;
14
+typedef signed long		int32_t;
15
+typedef signed long long	int64_t;
16
 
16
 
17
-typedef unsigned long	   physaddr_t;
17
+typedef unsigned long		physaddr_t;
18
 
18
 
19
 #endif /* STDINT_H */
19
 #endif /* STDINT_H */

Loading…
Cancel
Save