13
0

use g_fopen()

git-svn-id: svn://localhost/ardour2/branches/3.0@11668 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-03-13 20:14:22 +00:00
parent d0b90d2961
commit b557061ec4

View File

@ -9,6 +9,8 @@
#include <time.h> #include <time.h>
#include <unistd.h> #include <unistd.h>
#include <pthread.h> #include <pthread.h>
#include <glib.h>
#include <glib/gstdio.h>
#include "ardour/linux_vst_support.h" #include "ardour/linux_vst_support.h"
#include "pbd/error.h" #include "pbd/error.h"
@ -360,7 +362,7 @@ void vstfx_close (VSTState* vstfx)
bool bool
vstfx_save_state (VSTState* vstfx, char * filename) vstfx_save_state (VSTState* vstfx, char * filename)
{ {
FILE* f = fopen (filename, "wb"); FILE* f = g_fopen (filename, "wb");
if (f) if (f)
{ {
int bytelen; int bytelen;