13
0

build fix for mac

This commit is contained in:
Ben Loftis 2024-06-04 15:34:53 -05:00 committed by Robin Gareus
parent 61ad5c666d
commit 0fc5b49d9f
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -56,7 +56,7 @@ typedef struct _CoreMIDIPacket {
: timeStamp(other->timeStamp)
, length (other->length)
{
assert (l <= 1024);
assert (length <= 1024);
if (length > 0) {
memcpy(data, other->data, length);
}