@@ -247,17 +247,17 @@ mod arch {
247
247
use crate :: os:: raw:: { c_int, c_long} ;
248
248
249
249
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
250
- pub type blkcnt_t = u64 ;
250
+ pub type blkcnt_t = i64 ;
251
251
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
252
- pub type blksize_t = u64 ;
252
+ pub type blksize_t = i32 ;
253
253
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
254
254
pub type ino_t = u64 ;
255
255
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
256
- pub type nlink_t = u64 ;
256
+ pub type nlink_t = u32 ;
257
257
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
258
- pub type off_t = u64 ;
258
+ pub type off_t = i64 ;
259
259
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
260
- pub type time_t = i64 ;
260
+ pub type time_t = c_long ;
261
261
262
262
#[ repr( C ) ]
263
263
#[ derive( Clone ) ]
@@ -288,15 +288,15 @@ mod arch {
288
288
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
289
289
pub st_blocks : i64 ,
290
290
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
291
- pub st_atime : i64 ,
291
+ pub st_atime : time_t ,
292
292
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
293
293
pub st_atime_nsec : c_long ,
294
294
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
295
- pub st_mtime : i64 ,
295
+ pub st_mtime : time_t ,
296
296
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
297
297
pub st_mtime_nsec : c_long ,
298
298
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
299
- pub st_ctime : i64 ,
299
+ pub st_ctime : time_t ,
300
300
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
301
301
pub st_ctime_nsec : c_long ,
302
302
#[ stable( feature = "raw_ext" , since = "1.1.0" ) ]
0 commit comments