summaryrefslogtreecommitdiff
path: root/riscos/filetype.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/filetype.c')
-rw-r--r--riscos/filetype.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/riscos/filetype.c b/riscos/filetype.c
index dc1b9b8d2..2fac350b3 100644
--- a/riscos/filetype.c
+++ b/riscos/filetype.c
@@ -260,9 +260,10 @@ int ro_content_filetype(struct content *content)
return file_type;
error = xmimemaptranslate_mime_type_to_filetype(content->mime_type,
- &file_type);
+ (bits *) &file_type);
if (error)
return 0xffd;
+
return file_type;
}