Hi,

checking the compiler warnings like

order.c:197: warning: dereferencing type-punned pointer will break 
strict-aliasing rules

I ask myself: what is the x,y,z position supposed to have as datatype ?
I find UWORD but also UDWORD.

basedef.h says
UWORD   x,y,z;  /* Object's location */

So I would assume it is UWORD.

But then, why is there e.g. in move.h 
extern BOOL moveDroidTo(DROID *psDroid, UDWORD x, UDWORD y);
?

I think this should be made consistent to be able to correctly fix the 
compiler warnings.

-- 
Best regards/Schöne Grüße

Martin    ()  ascii ribbon campaign - against html mail 
          /\                        - against microsoft attachments

Computers and Internet gave you freedom.
TCPA would TAKE your FREEDOM!  http://www.againsttcpa.com

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to