Index: hydrogen/libs/hydrogen/src/IO/portmidi_driver.cpp =================================================================== --- hydrogen.orig/libs/hydrogen/src/IO/portmidi_driver.cpp 2010-02-13 06:16:54.000000000 +0100 +++ hydrogen/libs/hydrogen/src/IO/portmidi_driver.cpp 2010-02-13 06:17:46.000000000 +0100 @@ -31,7 +31,7 @@ #ifdef PORTMIDI_SUPPORT #include -#define TIME_PROC ((long (*)(void *)) Pt_Time) +#define TIME_PROC ((PmTimestamp (*)(void *)) Pt_Time) #define TIME_START Pt_Start(1, 0, 0) /* timer started w/millisecond accuracy */ #include @@ -47,7 +47,7 @@ _INFOLOG( "PortMidiDriver_thread starting" ); PmError status; - PmError length; + int length; PmEvent buffer[1]; while ( instance->m_bRunning ) { status = Pm_Poll( instance->m_pMidiIn );