summaryrefslogtreecommitdiff
path: root/packet.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-10-26 10:08:50 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-10-26 10:08:50 +0000
commit7c9d538c629e046924e96974e67732a01c706674 (patch)
tree995419960ad63afdf2e410aa41b9f1b272206cc8 /packet.c
parent7edaec7a7587f050266eb7280270e23ba9e2579f (diff)
downloadgpsd-7c9d538c629e046924e96974e67732a01c706674.tar.gz
In the wake of the change to use only C99 fixed-length types...
...splint needs some pacifying. This is part 1. All regressions pass.
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/packet.c b/packet.c
index e61aeb69..1fdc3a52 100644
--- a/packet.c
+++ b/packet.c
@@ -1423,7 +1423,7 @@ void packet_parse(struct gps_packet_t *lexer)
volatile uint32_t tmpdw;
/* number of words */
- len = (unsigned short)(lexer->inbuffer[6] &0xff);
+ len = (uint16_t)(lexer->inbuffer[6] &0xff);
/*@ -type @*/
/* initialize all my registers */