fixed importFilter::readByte() to return proper integer instead of signed char - makes import-filters finally work
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@742 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
2008-02-29 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
|
||||
|
||||
* 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
|
||||
|
||||
@@ -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<int>( c ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user