coremidi specifies it as SInt32 but system:midi_playback_-
126632214 ,
even if only used internally, just does not seem right.
ss << "system:midi_capture_";
SInt32 id;
if (noErr == MIDIObjectGetIntegerProperty(_input_endpoints[port], kMIDIPropertyUniqueID, &id)) {
- ss << (int)id;
+ ss << (unsigned int)id;
} else {
ss << port;
}
ss << "system:midi_playback_";
SInt32 id;
if (noErr == MIDIObjectGetIntegerProperty(_output_endpoints[port], kMIDIPropertyUniqueID, &id)) {
- ss << (int)id;
+ ss << (unsigned int)id;
} else {
ss << port;
}