Skip to content

Commit

Permalink
Fix fwrite parameter ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
PhysSong committed Jul 7, 2018
1 parent 62d505b commit 0f3b41f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/vst_base/RemoteVstPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" );
Expand Down

0 comments on commit 0f3b41f

Please sign in to comment.