summaryrefslogtreecommitdiff
path: root/libs/ardour
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour')
-rw-r--r--libs/ardour/linux_vst_info_file.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/linux_vst_info_file.cc b/libs/ardour/linux_vst_info_file.cc
index 753c84a33e..4372d1ada5 100644
--- a/libs/ardour/linux_vst_info_file.cc
+++ b/libs/ardour/linux_vst_info_file.cc
@@ -203,10 +203,10 @@ vstfx_infofile_for_read (char* dllpath)
if (sys_info) {
if (own_statbuf.st_mtime <= sys_statbuf.st_mtime) {
/* system info file is newer, use it */
- return fopen (sys_info, "r");
+ return g_fopen (sys_info, "rb");
}
} else {
- return fopen (own_info, "r");
+ return g_fopen (own_info, "rb");
}
}