summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-29 06:43:38 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-29 06:43:38 -0400
commitb411c2a6faea5932b593c7fde586c28918bea7ec (patch)
tree8ef1ba7cbae49bc0d60bb6dda4184e7efc76e761
parent14aba12a651f47c9cfab5c3e353748fcdc146e2d (diff)
downloadgpsd-b411c2a6faea5932b593c7fde586c28918bea7ec.tar.gz
Appease the compiler.
-rw-r--r--driver_ais.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_ais.c b/driver_ais.c
index 92f9d123..17cb2983 100644
--- a/driver_ais.c
+++ b/driver_ais.c
@@ -1059,7 +1059,7 @@ bool ais_binary_decode(const struct gpsd_errout_t *errout,
(ais->type26.bitcount + 7) / 8);
/* discard MMSI if addressed */
if (ais->type26.addressed) {
- shiftleft((char *)ais->type26.bitdata, ais->type26.bitcount, 30);
+ shiftleft((unsigned char *)ais->type26.bitdata, ais->type26.bitcount, 30);
ais->type26.bitcount -= 30;
}
break;