Am 30.06.11 20:19 schrieb(en) Oliver Eichler:
command.size = *trkpt >> *p;

The >> operator is defined in src/Garmin.cpp line 357. I guess that is the 
source for the problem. Maybe the gar_endian() macro messes up the float. Or 
something else. I would add some printf at that location to debug.

Are you using a big-endian box (PowerPC, Sparc, Mips)?  On *any* little-endian 
'gar_endian(type, val)' just expands to '(type)(val)'...

Best, Albrecht.

Attachment: pgp3pTrctkQNR.pgp
Description: PGP signature

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to