diff options
author | Michael Tatarinov <kukabu@gmail.com> | 2013-02-18 11:42:56 +0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-02-18 02:45:09 -0500 |
commit | b5c2841005816d1521064daa4ea03c1c8ce7c298 (patch) | |
tree | 243cea206bb86369afd61e0315899e7abb8b8174 /bits.h | |
parent | 5ec399ba397aced9d324c06a8156314dc05b2a6e (diff) | |
download | gpsd-b5c2841005816d1521064daa4ea03c1c8ce7c298.tar.gz |
The signed/unsigned char fix.
All regression tests pass on Raspbian “wheezy”.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'bits.h')
-rw-r--r-- | bits.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -50,7 +50,7 @@ extern double getbed64(const char *, int); extern void putbef32(char *, int, float); /* bitfield extraction */ -extern uint64_t ubits(char buf[], unsigned int, unsigned int, bool); -extern int64_t sbits(char buf[], unsigned int, unsigned int, bool); +extern uint64_t ubits(unsigned char buf[], unsigned int, unsigned int, bool); +extern int64_t sbits(signed char buf[], unsigned int, unsigned int, bool); #endif /* _GPSD_BITS_H_ */ |