VirtualBox

Changeset 103004 in vbox for trunk/include


Ignore:
Timestamp:
Jan 23, 2024 10:13:47 PM (13 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161238
Message:

iprt/bldprog-strtab-template.cpp.h: Fix comments to clang v15 doesn't barf on invalid UTF-8 source comments. [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/bldprog-strtab-template.cpp.h

    r103000 r103004  
    12061206        if (BldProgBitIsSet(pThis->bmUsedChars, i)
    12071207#  ifdef BLDPROG_STRTAB_PURE_ASCII
    1208             ? pThis->aCompDict[i].cchString != 1
     1208            ? pThis->aCompDict[i].cchString != 1U
    12091209#  else
    1210             ? pThis->aCompDict[i].cchString != (i != 0xff ? 1 : 0)
     1210            ? pThis->aCompDict[i].cchString != (i != 0xffU ? 1U : 0U)
    12111211#  endif
    1212             : pThis->aCompDict[i].cchString < 1)
     1212            : pThis->aCompDict[i].cchString < 1U)
    12131213            abort();
    1214         if (pThis->aCompDict[i].cchString > 1)
     1214        if (pThis->aCompDict[i].cchString > 1U)
    12151215            BldProgStrTab_CheckStrTabString(pThis, &pThis->aCompDict[i]);
    12161216    }
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