Added some parentheses for a little more macro safety. Recommended by Petri

Kero, here: http://www.devolution.com/pipermail/sdl/2005-March/067630.html

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401047
This commit is contained in:
Ryan C. Gordon 2005-04-17 10:16:30 +00:00
parent dc6bb60504
commit 20dbe0d931
3 changed files with 3 additions and 3 deletions

View file

@ -60,7 +60,7 @@ typedef enum {
} CDstatus;
/* Given a status, returns true if there's a disk in the drive */
#define CD_INDRIVE(status) ((int)status > 0)
#define CD_INDRIVE(status) ((int)(status) > 0)
typedef struct SDL_CDtrack {
Uint8 id; /* Track number */