This is a piece of code from the C setup of a cross platform console system.
Now I'm a bit familiar with pointers and typecasting, however this setup is confusing to me.
Now I know its a typecast but I'm use to seeing them something like this:Code:*(unsigned short int *) 0xf00400 = 0x0000; /* Color reg 0 = black */ *(unsigned short int *) 0xf00402 = 0xffff; /* Color reg 1 = white */
n3.next=( struct entry *) 0; or somesuch.
Can someone clarify for me what kind of pointer setup this is? a hex pointer?