diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2012-09-07 06:52:20 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2012-09-07 06:52:20 -0400 |
commit | 3f25484e6e7c6446ee27f764e3ec88d85c1812ee (patch) | |
tree | 990e9ea04aa42588072689293289b513a71c8f40 /monitor_italk.c | |
parent | 620f7445dcacfbb740c55a9e4b891593c3f94910 (diff) | |
download | gpsd-3f25484e6e7c6446ee27f764e3ec88d85c1812ee.tar.gz |
Type ckeanliness fixup.
Diffstat (limited to 'monitor_italk.c')
-rw-r--r-- | monitor_italk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor_italk.c b/monitor_italk.c index 0f93ffa2..2de8073a 100644 --- a/monitor_italk.c +++ b/monitor_italk.c @@ -90,7 +90,7 @@ static void display_itk_navfix(unsigned char *buf, size_t len) #define MAX(a,b) (((a) > (b)) ? (a) : (b)) nsv = (unsigned short) MAX(getleu16(buf, 7 + 12), getleu16(buf, 7 + 14)); - svlist = (unsigned short) getleu32(buf, 7 + 16) | getleu32(buf, 7 + 24); + svlist = (unsigned int) ((unsigned short) getleu32(buf, 7 + 16) | getleu32(buf, 7 + 24)); hour = (unsigned short) getleu16(buf, 7 + 66); min = (unsigned short) getleu16(buf, 7 + 68); |