diff options
author | Gary E. Miller <gem@rellim.com> | 2016-04-20 15:59:44 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2016-04-20 15:59:44 -0700 |
commit | de3e0a9746e15e1ca228815d81b2752f8371d8ea (patch) | |
tree | 6d7fc3da99319bd9fee29ffdf0432b9b37a901b7 /repo/hooks/post-update | |
parent | 65f2a7ee0d1b9fef9041e9380c9b9f593dbe22b6 (diff) | |
download | gpsd-de3e0a9746e15e1ca228815d81b2752f8371d8ea.tar.gz |
RTCM3 is unsigned byte, not chars.
This was causing problems in sign extension.
On amd64/Gentoo sign was extended:
(unsigned int)(char 0x80) became: 0xfffffff80
But on Pi2/Wheezy the same thing became: 0x80.
The obvious fix is to make it unsigned, as god intended.
All regression tests pass on pi2/wheezzy and amd64/gentoo.
Diffstat (limited to 'repo/hooks/post-update')
0 files changed, 0 insertions, 0 deletions