tl; dr : this will depend on the platform, but is struct statnot always (always) determined by time_t, so you will come across this warning on any platform, where time_tand unsigned longis not the same thing.
time_t linux - typedef __kernel_time_t, typedef - , .
struct stat does time_t, , Ubuntu 12.04 (x64), , stat.h :
struct stat {
unsigned long st_atime;
unsigned long st_atime_nsec;
unsigned long st_mtime;
unsigned long st_mtime_nsec;
unsigned long st_ctime;
unsigned long st_ctime_nsec;
};
, unsigned long, time_t. time_t, __kernel_time_t, :
typedef __kernel_long_t __kernel_time_t;
, ( FILE ), , , time_t unsigned long .
shree.pat18, , android stat.h unsigned long:
http://www.netmite.com/android/mydroid/bionic/libc/include/sys/stat.h
types.h "time_t" "__kernel_time_t"
http://www.netmite.com/android/mydroid/bionic/libc/include/sys/types.h
"__kernel_time_t" "long" ( "unsigned long", ):
http://www.netmite.com/android/mydroid/kernel/include/asm-x86/posix_types_64.h