Re: Possible bug in int64_t values XDR encoding?
Jorge Santos Simón <[email protected]>
| Newsgroups | gmane.science.robotics.playerstage |
|---|---|
| Message-ID | <CABpbO7rZPwDbTzF67KP1nYy1GsTjxN5PfpeKZL6tN76mv-dqKg@mail.gmail.com> |
I think that the error comes from the fact that a long int in a 32-bits machine like mine has only 4 bytes, and not 8 as expected. So I guess that the type int64_t should be a long long int. > It's probably an error, and it's definitely possible nobody has ever > noticed. There's only one interface that has any 64-bit ints in a data > structure (the health interface,) and even then it looks like that > particular structure isn't mapped to any requests or commands anyway. Does > everything look ok in the generated xdr functions? > > Rich ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev