VirtualBox

Ignore:
Timestamp:
Apr 16, 2012 5:53:05 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
77485
Message:

Runtime: linux 3.4-rc3 build fix [-fpermissive]

Location:
trunk/src/VBox/Runtime/common/table
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/table/avl_Base.cpp.h

    r36555 r40934  
    118118#  define KAVL_NULL     0
    119119# else
    120 #  define KAVL_NULL     NULL
     120#  define KAVL_NULL     ((PKAVLNODECORE)0)
    121121# endif
    122122#endif
     
    410410            pDeleteNode = KAVL_GET_POINTER(ppDeleteNode);
    411411        else
    412             return NULL;
     412            return KAVL_NULL;
    413413
    414414        kASSERT(AVLStack.cEntries < KAVL_MAX_STACK);
  • trunk/src/VBox/Runtime/common/table/avl_Get.cpp.h

    r36555 r40934  
    4949                    pNode = KAVL_GET_POINTER(&pNode->pLeft);
    5050                else
    51                     return NULL;
     51                    return KAVL_NULL;
    5252            }
    5353            else
     
    5656                    pNode = KAVL_GET_POINTER(&pNode->pRight);
    5757                else
    58                     return NULL;
     58                    return KAVL_NULL;
    5959            }
    6060        }
  • trunk/src/VBox/Runtime/common/table/avl_GetBestFit.cpp.h

    r36555 r40934  
    4747    if (pNode)
    4848    {
    49         PKAVLNODECORE           pNodeLast = NULL;
     49        PKAVLNODECORE           pNodeLast = KAVL_NULL;
    5050        if (fAbove)
    5151        {   /* pNode->Key >= Key */
Note: See TracChangeset for help on using the changeset viewer.

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