VirtualBox

Changeset 630 in vbox


Ignore:
Timestamp:
Feb 5, 2007 12:22:09 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
18259
Message:

assert type size assumptions.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MachineImpl.cpp

    r606 r630  
    23902390         */
    23912391
    2392         RTPROCESS pid = NIL_RTPROCESS;
    2393         aControl->GetPID ((ULONG *) &pid);
     2392        RTPROCESS pid = NIL_RTPROCESS; AssertCompile (sizeof (ULONG) == sizeof (RTPROCESS));
     2393        aControl->GetPID (&pid);
    23942394
    23952395        LogFlowThisFunc (("mSession.mPid=%d(0x%x)\n",
  • trunk/src/VBox/Main/SessionImpl.cpp

    r606 r630  
    250250
    251251    *aPid = (ULONG) RTProcSelf();
     252    AssertCompile (sizeof (*aPid) == sizeof (RTPROCESS));
    252253
    253254    return S_OK;
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