compile passed in mac os

pull/6/head
Yu Qing 2016-02-02 10:13:18 +08:00
parent 0e11466085
commit 6c74629633
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ int main(int argc, char *argv[])
}
stat("/dev/null", &st);
printf("file inode: %ld\n", st.st_ino);
printf("file inode: %ld\n", (long)st.st_ino);
printf("file access time: %d.%ld\n", (int)st.st_atime, st.st_atimensec);
printf("file modify time: %d.%ld\n", (int)st.st_mtime, st.st_mtimensec);
printf("file change time: %d.%ld\n", (int)st.st_ctime, st.st_ctimensec);