From cafb272f98f0b66481675743dfd42d6ac30baa47 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 26 Dec 2010 18:00:58 -0500 Subject: 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. --- driver_zodiac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'driver_zodiac.c') 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 */ -- cgit v1.2.1