Add parentheses around macros!

This commit is contained in:
jmz 1995-01-29 01:00:14 +00:00
parent 8da1f09e8e
commit 27434d033f
3 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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