diff options
Diffstat (limited to 'src/serd_internal.h')
-rw-r--r-- | src/serd_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serd_internal.h b/src/serd_internal.h index 297b4507..aa5b3c53 100644 --- a/src/serd_internal.h +++ b/src/serd_internal.h @@ -43,7 +43,7 @@ static inline FILE* serd_fopen(const char* path, const char* mode) { - FILE* fd = fopen((const char*)path, mode); + FILE* fd = fopen(path, mode); if (!fd) { fprintf(stderr, "Error opening file %s (%s)\n", path, strerror(errno)); return NULL; |