ISO C++ forbids cast to non-reference type used as lvalue ?

Mike Frysinger vapier@gentoo.org
Tue Jul 12 12:59:00 GMT 2005


On Tuesday 12 July 2005 03:13 am, Steven Scholz wrote:
> > What type is pbData?  If it's char *, you can do
> >         pbData += sizeof(DWORD);
>
> 	BYTE *pbData;		(and BYTE is typedef unsigned char)

so doing what dan indicated should work fine
-mike

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list