[Gllug] [somewhat OT] invalid type argument of `unary *'
Adrian McMenamin
adrian at mcmen.demon.co.uk
Sat Feb 18 18:34:44 UTC 2006
I know this question makes me look a hopeless C programmer, but there
you go.
Why won't this compile? (I want to know what is in the address
0xa0811000)
long uBuf = 0xa0811000;
snd_printk("Buffer starts with %X\n", *uBuf);
This gives me:
/home/adrian/aica/aica/snd_card_aica.c:189: error: invalid type argument
of `unary *'
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list