diff --git a/ChangeLog b/ChangeLog index 34492c4a1..51b70f2b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-02-29 Tobias Doerffel + * include/import_filter.h: + fixed importFilter::readByte() to return proper integer instead of + signed char - makes import-filters finally work + * plugins/midi_import/midi_import.cpp: * plugins/flp_import/flp_import.cpp: fixed parameter-list of lmms_plugin_main to work properly diff --git a/include/import_filter.h b/include/import_filter.h index 2420598df..0e7718b37 100644 --- a/include/import_filter.h +++ b/include/import_filter.h @@ -67,8 +67,8 @@ protected: inline int readByte( void ) { - char c; - if( m_file.getChar( &c ) ) + unsigned char c; + if( m_file.getChar( (char*) &c ) ) { return( static_cast( c ) ); }