Skip to content

Commit

Permalink
FIX: call to undeclared function 'Make_Clear_Mem'
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Oct 2, 2024
1 parent a7636fb commit 9b92815
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/os/osx/dev-midi.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ static void PrintMidiDevices()
LOG("in %u out %u\n", gInPort, gOutPort);

Midi_Ports_Pool.count = MIDI_PORTS_ALLOC;
Midi_Ports_Pool.ports = Make_Clear_Mem(sizeof(REBMID), MIDI_PORTS_ALLOC);
Midi_Ports_Pool.ports = MAKE_CLEAR_MEM(MIDI_PORTS_ALLOC * sizeof(REBMID));
return DR_DONE;
}

Expand Down
2 changes: 1 addition & 1 deletion src/os/win32/dev-midi.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ static void PrintMidiDevices()
{
//printf("Init_MIDI: sizeof(Midi_Ports_Pool): %d sizeof(REBMID): %d\n", sizeof(Midi_Ports_Pool), sizeof(REBMID));
Midi_Ports_Pool.count = MIDI_PORTS_ALLOC;
Midi_Ports_Pool.ports = Make_Clear_Mem(sizeof(REBMID), MIDI_PORTS_ALLOC);
Midi_Ports_Pool.ports = MAKE_CLEAR_MEM(sizeof(REBMID) * MIDI_PORTS_ALLOC);
if (!Midi_Ports_Pool.ports) return DR_ERROR;
return DR_DONE;
}
Expand Down

0 comments on commit 9b92815

Please sign in to comment.