aboutsummaryrefslogtreecommitdiffstats
path: root/src/serd_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-06-29 12:53:23 -0400
committerDavid Robillard <d@drobilla.net>2017-06-30 10:29:33 -0400
commit902d171c5e79561a534c3cbb9cc547cd1fadeab7 (patch)
tree20b2e3bdadb7e390ab33d5e1163ebdfe8b6280cf /src/serd_internal.h
parent195e4bcff3c4dfd3fe8bbf0df57d53ce89ca99e8 (diff)
downloadserd-902d171c5e79561a534c3cbb9cc547cd1fadeab7.tar.gz
serd-902d171c5e79561a534c3cbb9cc547cd1fadeab7.tar.bz2
serd-902d171c5e79561a534c3cbb9cc547cd1fadeab7.zip
Fix various clang-tidy issues
Diffstat (limited to 'src/serd_internal.h')
-rw-r--r--src/serd_internal.h2
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;