[Gllug] [somewhat OT] invalid type argument of `unary *'

Adrian McMenamin adrian at mcmen.demon.co.uk
Sat Feb 18 19:30:26 UTC 2006


On Sat, 2006-02-18 at 18:34 +0000, Adrian McMenamin wrote:
> 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);
> 
> 
Before anyone tells me and makes me feel even more stupid, it is, of
course, because I am trying to dereference something that isn't a
pointer

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list