char  doesn't fit into char ?
In my current project I have a union
and a function with a pointer to an instance in memory
unsigned char BYTE;
unsigned char ASCII;
unsigned short int SHORT;
unsigned int LONG;
signed char SBYTE;
unsigned char UNDEFINED;
short int SSHORT;
within the function i try to apply a unsigned char  variable to the ASCII "part" of the union:
void ReadIFDEntry(unsigned long Entry, IFDEntry *pointer, FILE *pFile)
when compiling i get the following error:
unsigned char Text;
*pointer->ASCII = Text;
error C2440: '=': 'unsigned char ' canno be converted into 'unsigned char'
I guess the solution is pretty easy but I have no idea at the moment.