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 /test_bits.c | |
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 '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 b37a4d6c..6d7d4119 100644 --- a/test_bits.c +++ b/test_bits.c @@ -207,7 +207,7 @@ int main(int argc, char *argv[]) up < unsigned_tests + sizeof(unsigned_tests) / sizeof(unsigned_tests[0]); up++) { - uint64_t res = ubits((char *)buf, up->start, up->width, up->le); + uint64_t res = ubits((unsigned char *)buf, up->start, up->width, up->le); bool success = (res == up->expected); if (!success) failures = true; |