aboutsummaryrefslogtreecommitdiffstats
path: root/tools/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/console.c')
-rw-r--r--tools/console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/console.c b/tools/console.c
index 0e41a2a0..3b209273 100644
--- a/tools/console.c
+++ b/tools/console.c
@@ -358,7 +358,7 @@ serd_open_tool_input(const char* const filename)
{
if (!strcmp(filename, "-")) {
const SerdInputStream in = serd_open_input_stream(
- serd_file_read_byte, (SerdStreamErrorFunc)ferror, NULL, stdin);
+ serd_file_read_byte, (SerdErrorFunc)ferror, NULL, stdin);
serd_set_stream_utf8_mode(stdin);
return in;
@@ -373,7 +373,7 @@ serd_open_tool_output(const char* const filename)
if (!filename || !strcmp(filename, "-")) {
serd_set_stream_utf8_mode(stdout);
return serd_open_output_stream(
- (SerdWriteFunc)fwrite, (SerdStreamCloseFunc)fclose, stdout);
+ (SerdWriteFunc)fwrite, (SerdCloseFunc)fclose, stdout);
}
return serd_open_output_file(filename);