Hi,

I read action.cpp and i think that it need some fixes:
* gcc don't like ugly macros TO/FROM uint32 => why using "(Uint32 *)(&x)" 
instead of "(UInt32)x" ?
* ntoh[sl] and hton[sl] are missing to be "endian aware" (network endian is 
big endian whereas Intel/AMD endian is little endian)

lodesi: can you fix that?

Haypo

_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à