[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in aodv/aodv.h



Hi,

I downloaded today's snapshot and tried to compile it. The compiler (gcc
2.95) bombed out with a typecasting error when processing aodv/aodv.h:261.

I solved the problem by changing the code thus:

        int             initialized() { return (int) target_; }

As far as I can see initialized() is only used in an assert, so I think
that this fix should be fine.

Sean.
-----
Sean Murphy,			Email: [email protected]
Teltec Ireland,			Phone: +353-1-7045080
DCU, Dublin 9,			Fax:   +353-1-7045092
Ireland.