VirtualBox

Changeset 89233 in vbox


Ignore:
Timestamp:
May 23, 2021 1:04:22 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
144576
Message:

DrvHostAudioCoreAudio: build fix. bugref:9890

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DrvHostAudioCoreAudio.cpp

    r89229 r89233  
    884884    CFIndex cbMax = CFStringGetMaximumSizeForEncoding(CFStringGetLength(hStr), kCFStringEncodingUTF8) + 1;
    885885    AssertReturn(cbMax > 0, VERR_INVALID_UTF8_ENCODING);
    886     AssertReturn(cbMax < _16M, VERR_OUT_OF_RANGE);
     886    AssertReturn(cbMax < (CFIndex)_16M, VERR_OUT_OF_RANGE);
    887887
    888888    char *pszTmp = (char *)RTMemTmpAlloc(cbMax);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette