summaryrefslogtreecommitdiff
path: root/audio/hydrogen/portmidi.patch
blob: 76eb1e83b1452d3c3abc39e7edc883cee09d0680 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ur hydrogen-0.9.4.orig/libs/hydrogen/src/IO/portmidi_driver.cpp hydrogen-0.9.4/libs/hydrogen/src/IO/portmidi_driver.cpp
--- hydrogen-0.9.4.orig/libs/hydrogen/src/IO/portmidi_driver.cpp	2009-07-15 02:10:17.000000000 +0100
+++ hydrogen-0.9.4/libs/hydrogen/src/IO/portmidi_driver.cpp	2009-10-29 17:27:22.000000000 +0000
@@ -31,7 +31,7 @@
 #ifdef PORTMIDI_SUPPORT
 
 #include <porttime.h>
-#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 <pthread.h>