If I give a printf
like this:
int x=5, *px = &x;
printf("%d %ld\n", x, (long)px);
Until then without Warning , but if you change the printf
:
int x=5, *px = &x;
printf("%d %d\n", x, (int)px);
I get a warning:
warning: cast from pointer to integer of different size.
Why this warning? I've already been in some places and I've seen some very different '\ zu' operators and several others, does anyone know of an article that I can read about it? I get Warning all the time.