Skip to content

Commit 0f3b41f

Browse files
committed
Fix fwrite parameter ordering
1 parent 62d505b commit 0f3b41f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/vst_base/RemoteVstPlugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@ void RemoteVstPlugin::saveChunkToFile( const std::string & _file )
10741074
if( len > 0 )
10751075
{
10761076
FILE* fp = F_OPEN_UTF8( _file, "wb" );
1077-
if ( fwrite( chunk, len, 1, fp ) != len )
1077+
if ( fwrite( chunk, 1, len, fp ) != len )
10781078
{
10791079
fprintf( stderr,
10801080
"Error saving chunk to file.\n" );

0 commit comments

Comments
 (0)