include/SDL_cdrom.h
changeset 1046 f09d5edfc7a3
parent 911 04a403e4ccf5
child 1312 c9b51268668f
--- 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 */