VirtualBox

Ignore:
Timestamp:
Jun 22, 2011 7:30:06 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
72442
Message:

*: RTFILE becomes a pointer, RTFileOpen++ expands it's flags paramter from uint32_t to uint64_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/darwin/SUPLib-darwin.cpp

    r33540 r37596  
    194194     * Do the job.
    195195     */
    196     Assert(pThis->hDevice == NIL_RTFILE);
     196    Assert(pThis->hDevice == (intptr_t)NIL_RTFILE);
    197197    int rc = suplibDarwinOpenService(pThis);
    198198    if (RT_SUCCESS(rc))
     
    237237     * Check if we're inited at all.
    238238     */
    239     if (pThis->hDevice != NIL_RTFILE)
     239    if (pThis->hDevice != (intptr_t)NIL_RTFILE)
    240240    {
    241241        if (close(pThis->hDevice))
    242242            AssertFailed();
    243         pThis->hDevice = NIL_RTFILE;
     243        pThis->hDevice = (intptr_t)NIL_RTFILE;
    244244    }
    245245
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