Skip to content

Commit 17e9d0f

Browse files
committed
Build: moving osx midi related source file to a new os/osx directory
1 parent 95016d9 commit 17e9d0f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

make/rebol3.nest

+1-1
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ include-midi: [
365365
]
366366
#if macOS? [
367367
core-files: %core/p-midi.c
368-
host-files: %os/posix/dev-midi-osx.c
368+
host-files: %os/osx/dev-midi.c
369369
config: INCLUDE_MIDI_DEVICE
370370
frameworks: [CoreServices CoreMIDI]
371371

src/os/posix/dev-midi-osx.c src/os/osx/dev-midi.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ static REBSER *CFString_To_REBSER(CFStringRef source)
164164
static void MidiInProc(const MIDIPacketList *pktlist, void *refCon, void *connRefCon)
165165
{
166166
REBMID midi_port;
167-
REBCNT id = (REBCNT)refCon;
167+
REBU64 id = (REBU64)refCon;
168168

169169
if (id >= Midi_Ports_Pool.count) return;
170170

0 commit comments

Comments
 (0)