X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_endian.c;h=8c291ad3c8f10d55cbcc476773ef1ce2c9feddf7;hp=0bc67fef41f8b5a906ccf7a681fa58a2f27911da;hb=b4d5215f18486403d16f2e776000e43eba052f40;hpb=93d04b9574a71315361b3ae5294b8ff95a6d848c diff --git a/yaffs_endian.c b/yaffs_endian.c index 0bc67fe..8c291ad 100644 --- a/yaffs_endian.c +++ b/yaffs_endian.c @@ -37,7 +37,7 @@ void yaffs_do_endian_oh(struct yaffs_dev *dev, struct yaffs_obj_hdr *oh) return; /* Change every field */ oh->type = swap_u32(oh->type); - oh->parent_obj_id = swap_s32(oh->parent_obj_id); + oh->parent_obj_id = swap_u32(oh->parent_obj_id); oh->yst_mode = swap_u32(oh->yst_mode);