VirtualBox

Changeset 54356 in vbox


Ignore:
Timestamp:
Feb 22, 2015 5:33:38 PM (10 years ago)
Author:
vboxsync
Message:

Runtime/asn1: typo (thanks gcc-5)

Location:
trunk/src/VBox/Runtime/common/asn1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/asn1/asn1-ut-bitstring.cpp

    r51770 r54356  
    7878    RTASN1BITSTRINGWRITERCTX *pCtx = (RTASN1BITSTRINGWRITERCTX *)pvUser;
    7979    AssertReturn(cbToWrite <= pCtx->cbBuf - pCtx->offBuf, VERR_BUFFER_OVERFLOW);
    80     if (!memcmp(&pCtx->pbBuf[pCtx->offBuf], pvBuf, cbToWrite) != 0)
     80    if (memcmp(&pCtx->pbBuf[pCtx->offBuf], pvBuf, cbToWrite) != 0)
    8181        return VERR_NOT_EQUAL;
    8282    pCtx->offBuf += (uint32_t)cbToWrite;
  • trunk/src/VBox/Runtime/common/asn1/asn1-ut-octetstring.cpp

    r51770 r54356  
    7878    RTASN1OCTETSTRINGWRITERCTX *pCtx = (RTASN1OCTETSTRINGWRITERCTX *)pvUser;
    7979    AssertReturn(cbToWrite <= pCtx->cbBuf - pCtx->offBuf, VERR_BUFFER_OVERFLOW);
    80     if (!memcmp(&pCtx->pbBuf[pCtx->offBuf], pvBuf, cbToWrite) != 0)
     80    if (memcmp(&pCtx->pbBuf[pCtx->offBuf], pvBuf, cbToWrite) != 0)
    8181        return VERR_NOT_EQUAL;
    8282    pCtx->offBuf += (uint32_t)cbToWrite;
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