Permalink
Browse files

Fix fwrite parameter ordering

  • Loading branch information...
PhysSong committed Jul 7, 2018
1 parent 62d505b commit 0f3b41f590ed8d573ce3891f6502f211d1be176a
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/vst_base/RemoteVstPlugin.cpp
@@ -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.