VirtualBox

Changeset 94777 in vbox for trunk/src


Ignore:
Timestamp:
May 2, 2022 10:46:02 AM (3 years ago)
Author:
vboxsync
Message:

Main: Introduce crypto utilities for handling SSM files, bugref:9955 [build fix]

File:
1 edited

Legend:

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

    r94771 r94777  
    3030    SsmStream *pThis = static_cast<SsmStream *>(pvUser);
    3131
    32     return RTVfsFileWriteAt(pThis->m_hVfsFile, offStream, pvBuf, cbToWrite, NULL /*pcbWritten*/);
     32    return RTVfsFileWriteAt(pThis->m_hVfsFile, (RTFOFF)offStream, pvBuf, cbToWrite, NULL /*pcbWritten*/);
    3333}
    3434
     
    3939    SsmStream *pThis = static_cast<SsmStream *>(pvUser);
    4040
    41     return RTVfsFileReadAt(pThis->m_hVfsFile, offStream, pvBuf, cbToRead, pcbRead);
     41    return RTVfsFileReadAt(pThis->m_hVfsFile, (RTFOFF)offStream, pvBuf, cbToRead, pcbRead);
    4242}
    4343
     
    4848    SsmStream *pThis = static_cast<SsmStream *>(pvUser);
    4949
    50     return RTVfsFileSeek(pThis->m_hVfsFile, offSeek, uMethod, poffActual);
     50    return RTVfsFileSeek(pThis->m_hVfsFile, (RTFOFF)offSeek, uMethod, poffActual);
    5151}
    5252
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