VirtualBox

Changeset 40931 in vbox for trunk/include


Ignore:
Timestamp:
Apr 16, 2012 3:32:32 AM (13 years ago)
Author:
vboxsync
Message:

linux: 3.4-rc3 build fix [-fpermissive]

Location:
trunk/include/iprt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/asm.h

    r40630 r40931  
    33643364        if (RT_UNLIKELY(*pu32 != u32))
    33653365            return (uint32_t *)pu32;
    3366     return NULL;
     3366    return (uint32_t *)NULL;
    33673367}
    33683368
  • trunk/include/iprt/string.h

    r40771 r40931  
    14191419DECLINLINE(char *) RTLatin1PutCp(char *psz, RTUNICP CodePoint)
    14201420{
    1421     AssertReturn(CodePoint < 0x100, NULL);
     1421    AssertReturn(CodePoint < 0x100, (char *)NULL);
    14221422    *psz++ = (unsigned char)CodePoint;
    14231423    return psz;
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