summaryrefslogtreecommitdiff
path: root/bits.h
diff options
context:
space:
mode:
authorMichael Tatarinov <kukabu@gmail.com>2013-02-18 11:42:56 +0400
committerEric S. Raymond <esr@thyrsus.com>2013-02-18 02:45:09 -0500
commitb5c2841005816d1521064daa4ea03c1c8ce7c298 (patch)
tree243cea206bb86369afd61e0315899e7abb8b8174 /bits.h
parent5ec399ba397aced9d324c06a8156314dc05b2a6e (diff)
downloadgpsd-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bits.h b/bits.h
index ac493e7f..e8a1d664 100644
--- a/bits.h
+++ b/bits.h
@@ -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_ */