From c41767dc4e2457c83e732d2c1a84326e28d1b313 Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Tue, 9 May 2000 01:06:18 +0000 Subject: [PATCH] Conrrect a macro with parenthesis. --- sys/dev/isp/ispmbox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/isp/ispmbox.h b/sys/dev/isp/ispmbox.h index a517ece47c69..7a787fda1e76 100644 --- a/sys/dev/isp/ispmbox.h +++ b/sys/dev/isp/ispmbox.h @@ -564,7 +564,7 @@ typedef struct { u_int16_t pdb_options; u_int8_t pdb_mstate; u_int8_t pdb_sstate; -#define BITS2WORD(x) (x)[0] << 16 | (x)[3] << 8 | (x)[2] +#define BITS2WORD(x) ((x)[0] << 16 | (x)[3] << 8 | (x)[2]) u_int8_t pdb_hardaddr_bits[4]; u_int8_t pdb_portid_bits[4]; u_int8_t pdb_nodename[8];