--- old/src/java.desktop/macosx/native/libjsound/PLATFORM_API_MacOSX_Ports.cpp 2018-10-09 18:26:41.287350236 -0400 +++ new/src/java.desktop/macosx/native/libjsound/PLATFORM_API_MacOSX_Ports.cpp 2018-10-09 18:26:41.027336398 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -609,7 +609,7 @@ // get the channel name char *channelName; CFStringRef cfname = NULL; - const AudioObjectPropertyAddress address = {kAudioObjectPropertyElementName, port->scope, ch}; + const AudioObjectPropertyAddress address = {kAudioObjectPropertyElementName, port->scope, (unsigned)ch}; UInt32 size = sizeof(cfname); OSStatus err = AudioObjectGetPropertyData(mixer->deviceID, &address, 0, NULL, &size, &cfname); if (err == noErr) {