Add parentheses around macros!

This commit is contained in:
Jean-Marc Zucconi 1995-01-29 01:00:14 +00:00
parent 1408eb8439
commit 2429906c75
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