VirtualBox

Changeset 66417 in vbox for trunk


Ignore:
Timestamp:
Apr 4, 2017 2:01:42 PM (8 years ago)
Author:
vboxsync
Message:

debug build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/rtStrFormatKernelAddress-generic.cpp

    r66416 r66417  
    3333#include "internal/iprt.h"
    3434
    35 #include <iprt/log.h>
    3635#include <iprt/assert.h>
    3736#include <iprt/string.h>
     
    6766    pszBuf[cbBuf - 1] = '\0';
    6867    return cbBuf - 1;
     68
    6969#else  /* DEBUG */
    70     return RT_CONCAT(RTStrFormatU,R0_ARCH_BITS)(pszBuf, cbBuf, uPtr, 16, cchWidth, cchPrecision, fFlags);
     70    Assert(cbBuf >= 64);
     71    return RTStrFormatNumber(pszBuf, uPtr, 16, cchWidth, cchPrecision, fFlags);
    7172#endif /* DEBUG */
    7273}
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