|
Имеется структура в ПЗУ состоящая из следующих структур
typedef const struct OBJECT_HEADER{
unsigned int lenght; //
unsigned char type; //
unsigned char name[13]; //
}OBJECT_HEADER;
typedef const struct OBJ_PROP{
unsigned char lenght; //
unsigned char rec_type; //
unsigned int m_addr; //
unsigned char name[8]; //
unsigned char type; //
void * const addr; //
unsigned char byte_len; //
}OBJ_PROP;
При доступе к заголовку все ОК
temp = (unsigned char)(ext_inp.header.lenght) ;
temp = (unsigned char)(ext_inp.header.type) ;
А вот при доступе к свойству b_t_prop
temp = (unsigned char)(ext_inp.b_t_prop.lenght) ;
вот такая ошибка
Error[000] C:\...\OBJ.obj 28 : Fixup overflow referencing psect ob_con (loc 0x106C (0x1034+56), size 2, value 0x7010)
E-mail: info@telesys.ru