summaryrefslogtreecommitdiff
path: root/driver_rtcm3.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2016-04-20 15:59:44 -0700
committerGary E. Miller <gem@rellim.com>2016-04-20 15:59:44 -0700
commitde3e0a9746e15e1ca228815d81b2752f8371d8ea (patch)
tree6d7fc3da99319bd9fee29ffdf0432b9b37a901b7 /driver_rtcm3.c
parent65f2a7ee0d1b9fef9041e9380c9b9f593dbe22b6 (diff)
downloadgpsd-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 'driver_rtcm3.c')
0 files changed, 0 insertions, 0 deletions