VirtualBox

Ignore:
Timestamp:
Jul 18, 2016 3:53:55 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108836
Message:

HostDrivers: On MacOS X use 0 to initialize/assign io_connect_t to
fix -Wnull-conversion

File:
1 edited

Legend:

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

    r57358 r62305  
    169169     * instantiated and create a session for this process.
    170170     */
    171     io_connect_t Connection = NULL;
     171    io_connect_t Connection = 0;
    172172    kr = IOServiceOpen(ServiceObject, mach_task_self(), SUP_DARWIN_IOSERVICE_COOKIE, &Connection);
    173173    IOObjectRelease(ServiceObject);
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