unsigned char FAT32_Buffer[512];
struct FAT_Item
{
unsigned char Item[4];
};
struct FAT32_FAT
{
struct FAT_Item Items[128];
};
void ******(unsigned long Curr_cluster)
{
struct FAT_Item *pItem;
struct FAT32_FAT *pFat;
pFat=(struct FAT32_FAT *)(FAT32_Buffer);//这样写没问题
pItem=&(pFat->Items[Curr_cluster%128]);//这样写没问题
但是这样写:
pItem=&((struct FAT32_FAT *)(FAT32_Buffer)->Items[Curr_cluster%128]);//这样写为啥就会出现错误呢
} |