summaryrefslogtreecommitdiff
path: root/driver_zodiac.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-26 18:00:58 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-26 18:00:58 -0500
commitcafb272f98f0b66481675743dfd42d6ac30baa47 (patch)
tree4d50a2f8dbae7f62c96320259e791f73a422e78d /driver_zodiac.c
parent5062f7c420c55c8f2c3d51a75539b050536fc103 (diff)
downloadgpsd-cafb272f98f0b66481675743dfd42d6ac30baa47.tar.gz
Rename the bits.h macros to be explicit about operand length.
With most machines being 64-bit now, the assumption that "word" = 16 bits and "long" = 32 bits is increasingly archaic. This commit removes it from our naming conventions.
Diffstat (limited to 'driver_zodiac.c')
-rw-r--r--driver_zodiac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_zodiac.c b/driver_zodiac.c
index 1caeeb4e..b13dd64d 100644
--- a/driver_zodiac.c
+++ b/driver_zodiac.c
@@ -127,8 +127,8 @@ static ssize_t zodiac_send_rtcm(struct gps_device_t *session,
return 1;
}
-#define getzword(n) getwordz(session->packet.outbuffer, n)
-#define getzlong(n) getlongz(session->packet.outbuffer, n)
+#define getzword(n) get16z(session->packet.outbuffer, n)
+#define getzlong(n) get32z(session->packet.outbuffer, n)
static gps_mask_t handle1000(struct gps_device_t *session)
/* time-position-velocity report */