projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Compilation clean up
[yaffs2.git]
/
yaffs_endian.c
diff --git
a/yaffs_endian.c
b/yaffs_endian.c
index 0bc67fef41f8b5a906ccf7a681fa58a2f27911da..8c291ad3c8f10d55cbcc476773ef1ce2c9feddf7 100644
(file)
--- 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_
s
32(oh->parent_obj_id);
+ oh->parent_obj_id = swap_
u
32(oh->parent_obj_id);
oh->yst_mode = swap_u32(oh->yst_mode);