VirtualBox

Changeset 85238 in vbox for trunk/src/VBox/Main/src-all


Ignore:
Timestamp:
Jul 11, 2020 4:37:56 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139215
Message:

Main/HashedPw.cpp: Signedness warning. bugref:9790

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/HashedPw.cpp

    r82968 r85238  
    9696        uint8_t abHash[RTSHA512_HASH_SIZE];
    9797        RTSha512(a_pstrPassword->c_str(), a_pstrPassword->length(), abHash);
    98         int rc = RTSha512ToString(abHash, pszHashedPw, sizeof(szHashedPw) - (pszHashedPw - &szHashedPw[0]));
     98        int rc = RTSha512ToString(abHash, pszHashedPw, sizeof(szHashedPw) - (size_t)(pszHashedPw - &szHashedPw[0]));
    9999        AssertReleaseRC(rc);
    100100    }
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