I can compile and execute this line with no issue:
int whoami = i->whoami;
uint8_t * fetchPTR = &in[dataSize];
printf("%d, init fetch ptr = %08X\n",whoami, fetchPTR);
However, using fprintf
I am receiving this warning:
warning: format specifies type 'unsigned int' but the argument has type 'uint8_t *' (aka 'unsigned char *') [-Wformat]
and it suggests me to use %s
instead.
Can anyone explain this behavior?