ソースを参照

off_t should be signed.

tags/v0.9.3
Michael Brown 19年前
コミット
116f17f605
1個のファイルの変更11行の追加11行の削除
  1. 11
    11
      src/arch/i386/include/stdint.h

+ 11
- 11
src/arch/i386/include/stdint.h ファイルの表示

@@ -1,19 +1,19 @@
1 1
 #ifndef STDINT_H
2 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 19
 #endif /* STDINT_H */

読み込み中…
キャンセル
保存