summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorscuri <scuri>2011-03-29 14:47:43 +0000
committerscuri <scuri>2011-03-29 14:47:43 +0000
commitbcf6192bffabb1c112ae3b7c84cd6c23f156ca19 (patch)
treeb4394cfee7d97bbf999f7db5f58e414dcd2626d9 /src
parent64a0b5ebb41d36a7db87d24c5451f7db925e24f8 (diff)
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/cd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cd.c b/src/cd.c
index 4553575..50e1134 100644
--- a/src/cd.c
+++ b/src/cd.c
@@ -267,14 +267,14 @@ unsigned long cdContextCaps(cdContext *context)
int cdContextIsPlus(cdContext *context)
{
if (!context)
- return (unsigned long)CD_ERROR;
+ return CD_ERROR;
return context->plus;
}
int cdContextType(cdContext *context)
{
if (!context)
- return (unsigned long)CD_ERROR;
+ return CD_ERROR;
return context->type;
}