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
No known key found for this signature in database
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);
}