Skip to content
Permalink
Browse files
Fix fwrite parameter ordering
  • Loading branch information
PhysSong committed Jul 7, 2018
1 parent 62d505b commit 0f3b41f
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1074,7 +1074,7 @@ void RemoteVstPlugin::saveChunkToFile( const std::string & _file )
if( len > 0 )
{
FILE* fp = F_OPEN_UTF8( _file, "wb" );
if ( fwrite( chunk, len, 1, fp ) != len )
if ( fwrite( chunk, 1, len, fp ) != len )
{
fprintf( stderr,
"Error saving chunk to file.\n" );

0 comments on commit 0f3b41f

Please sign in to comment.