On Tuesday, October 19, 2010 17:43:29 Tomek CEDRO wrote: > On Tue, Oct 19, 2010 at 11:15 PM, Mike Frysinger <[email protected]> wrote: > >> again, used code from other code sections. > > > > bad code isnt an excuse for adding more broken code. ive fixed the code > > in the tree in these two regards. > > gjt :-)
i'm not familiar with the acronym > > so you pick which parts of the file to deviate from ? just before you > > were saying you wanted to keep the wrong cast/address style because the > > rest of the file was doing it wrong, but now you want to use the wrong > > style because you think it's better ? > > I want to keep the cast because I am not familiar enough with the code > to judge what happens if I omit the cast the point is of type "void *". C does not need an explicit cast to go from "void *" to anything else. C++ might barf on you without an explicit cast, but this isnt C++. if you were doing an offset, then the cast might be ncessary to get the right type before doing the math. but that isnt the case either. -mike
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________ UrJTAG-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/urjtag-development
