X-Git-Url: https://yaffs.net/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_endian.c;fp=yaffs_endian.c;h=6103f4ebb0c20ab062a982b19078ae3273f914a3;hp=571a35f7642739041b888f94bf2102451831c8d8;hb=858769090d82e03c0556aaa46af4274d8a791580;hpb=8f551673ba9c0bde32ace31414d7470b4bcadf1b diff --git a/yaffs_endian.c b/yaffs_endian.c index 571a35f..6103f4e 100644 --- a/yaffs_endian.c +++ b/yaffs_endian.c @@ -42,9 +42,9 @@ void yaffs_do_endian_oh(struct yaffs_dev *dev, struct yaffs_obj_hdr *oh) oh->yst_uid = swap_u32(oh->yst_uid); oh->yst_gid = swap_u32(oh->yst_gid); - oh->yst_atime = swap_ytime_t(oh->yst_atime); - oh->yst_mtime = swap_ytime_t(oh->yst_mtime); - oh->yst_ctime = swap_ytime_t(oh->yst_ctime); + oh->yst_atime = swap_u32(oh->yst_atime); + oh->yst_mtime = swap_u32(oh->yst_mtime); + oh->yst_ctime = swap_u32(oh->yst_ctime); oh->file_size_low = swap_u32(oh->file_size_low);