diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-02-18 00:17:41 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-02-18 02:09:21 -0500 |
commit | 8e74a3839d282f5394febb0e3c542c499070a320 (patch) | |
tree | 0d39127a2d3676fda6749c7ed8514d252ce65405 /test_bits.c | |
parent | cc9a306f1dd50b6c84d131e54c13b792bf8d3f5a (diff) | |
download | gpsd-8e74a3839d282f5394febb0e3c542c499070a320.tar.gz |
test_bits failed spuriously on hardware with unigned chars, fix it.
Reported from a Raspberry Pi.
Diffstat (limited to 'test_bits.c')
-rw-r--r-- | test_bits.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test_bits.c b/test_bits.c index 69139912..b37a4d6c 100644 --- a/test_bits.c +++ b/test_bits.c @@ -14,7 +14,7 @@ /*@ -duplicatequals -formattype */ static unsigned char buf[80]; -static char sb1, sb2; +static signed char sb1, sb2; static unsigned char ub1, ub2; static short sw1, sw2; static unsigned short uw1, uw2; |