diff --git a/fs_defs.h b/fs_defs.h index 1dc880b..588f0c0 100644 --- a/fs_defs.h +++ b/fs_defs.h @@ -44,17 +44,17 @@ typedef struct FSCmdBlock_ { typedef struct { - uint32_t flag; - uint32_t permission; - uint32_t owner_id; - uint32_t group_id; - uint32_t size; - uint32_t alloc_size; - uint64_t quota_size; - uint32_t ent_id; - uint64_t ctime; - uint64_t mtime; - uint8_t attributes[48]; + u32 flag; + u32 permission; + u32 owner_id; + u32 group_id; + u32 size; + u32 alloc_size; + u64 quota_size; + u32 ent_id; + u64 ctime; + u64 mtime; + u8 attributes[48]; } __attribute__((packed)) FSStat; typedef struct @@ -63,7 +63,7 @@ typedef struct char name[FS_MAX_ENTNAME_SIZE]; } FSDirEntry; -typedef void (*FSAsyncCallback)(FSClient * pClient, FSCmdBlock * pCmd, int result, void *context); +typedef void (*FSAsyncCallback)(FSClient * pClient, FSCmdBlock * pCmd, s32 result, void *context); typedef struct { FSAsyncCallback userCallback;