X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fyaffsfs.c;h=a01155ff9320b66051e465d6809aaa14b792e654;hp=0b231338ad0dfaa8a8562b24e28cf685a317dea1;hb=53892fe9e3770882fd8f53f1a8a392d875175b4b;hpb=5521e3e34aa8ba4e9579b6d5ca2dd5e0a0946088 diff --git a/direct/yaffsfs.c b/direct/yaffsfs.c index 0b23133..a01155f 100644 --- a/direct/yaffsfs.c +++ b/direct/yaffsfs.c @@ -78,8 +78,8 @@ struct yaffsfs_DirSearchContext { struct yaffs_obj *dirObj; /* ptr to directory being searched */ struct yaffs_obj *nextReturn; /* obj returned by next readddir */ struct list_head others; - int offset:20; - unsigned inUse:1; + s32 offset:20; + u8 inUse:1; }; struct yaffsfs_FileDes { @@ -89,8 +89,8 @@ struct yaffsfs_FileDes { u8 append:1; u8 shareRead:1; u8 shareWrite:1; - int inodeId:12; /* Index to corresponding yaffsfs_Inode */ - int handleCount:10; /* Number of handles for this fd */ + s32 inodeId:12; /* Index to corresponding yaffsfs_Inode */ + s32 handleCount:10; /* Number of handles for this fd */ union { Y_LOFF_T position; /* current position in file */ yaffs_DIR *dir;