Mercurial > sdl-ios-xcode
diff include/SDL_cdrom.h @ 1046:f09d5edfc7a3
Added some parentheses for a little more macro safety. Recommended by Petri
Kero, here: http://www.devolution.com/pipermail/sdl/2005-March/067630.html
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 17 Apr 2005 10:16:30 +0000 |
parents | 04a403e4ccf5 |
children | c9b51268668f |
line wrap: on
line diff
--- a/include/SDL_cdrom.h Fri Apr 01 15:19:26 2005 +0000 +++ b/include/SDL_cdrom.h Sun Apr 17 10:16:30 2005 +0000 @@ -60,7 +60,7 @@ } 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 */