summaryrefslogtreecommitdiff
path: root/src/cd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cd.c')
-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;
}