diff options
author | jmz <jmz@FreeBSD.org> | 1995-01-29 01:00:14 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1995-01-29 01:00:14 +0000 |
commit | 27434d033f0c367482bf2ee5e217ca7c0d035e36 (patch) | |
tree | 6731115972ce1080480bcb73a91ce4560b1b8208 /sys/isa/joy.c | |
parent | 8da1f09e8eb3872845ee28f5916db8e8a064d890 (diff) | |
download | FreeBSD-src-27434d033f0c367482bf2ee5e217ca7c0d035e36.zip FreeBSD-src-27434d033f0c367482bf2ee5e217ca7c0d035e36.tar.gz |
Add parentheses around macros!
Diffstat (limited to 'sys/isa/joy.c')
-rw-r--r-- | sys/isa/joy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isa/joy.c b/sys/isa/joy.c index 83ff11a..aacd92e 100644 --- a/sys/isa/joy.c +++ b/sys/isa/joy.c @@ -52,8 +52,8 @@ /* the formulae below only work if u is ``not too large''. See also * the discussion in microtime.s */ -#define usec2ticks(u) ((u) * 19549)>>14 -#define ticks2usec(u) ((u) * 3433)>>12 +#define usec2ticks(u) (((u) * 19549)>>14) +#define ticks2usec(u) (((u) * 3433)>>12) #define joypart(d) minor(d)&1 |