Bernie Bright writes: > These latest changes generate a compilation error: > > native_fdm.cxx: In function `void FGProps2NetFDM(FGNetFDM*, bool)': > native_fdm.cxx:252: invalid operands of types `float' and `unsigned int' to > binary `operator&' > > The gear_* members should be converted using htonf() instead of > htonl().
Ok, thanks for catching that, my mistake. I'll get it fixed shortly. > A minor nit with htonf() is that it doesn't return the converted value like > the other htonX functions. For consistency I wonder if we should change > this. htonf() is an adaption of htond(). If someone wants to tweak these, I'd be happy to accept the patches. Regards, Curt. -- Curtis Olson IVLab / HumanFIRST Program FlightGear Project Twin Cities curt 'at' me.umn.edu curt 'at' flightgear.org Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
