VirtualBox

Changeset 37609 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 23, 2011 12:26:13 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
72455
Message:

build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/solaris/coredumper-solaris.cpp

    r36474 r37609  
    218218    if (fd >= 0)
    219219    {
    220         RTFILE hFile = fd;
     220        RTFILE hFile = (RTFILE)(uintptr_t)fd;
    221221        RTFileGetSize(hFile, &cb);
    222222        RTFileClose(hFile);
     
    367367    if (fd >= 0)
    368368    {
    369         RTFILE hFile = fd;
     369        RTFILE hFile = (RTFILE)(uintptr_t)fd;
    370370        uint64_t u64Size;
    371371        RTFileGetSize(hFile, &u64Size);
     
    415415    if (fd >= 0)
    416416    {
    417         RTFILE hFile = fd;
     417        RTFILE hFile = (RTFILE)(uintptr_t)fd;
    418418        size_t cbProcInfo = sizeof(psinfo_t);
    419419        rc = ReadFileNoIntr(hFile, &pVBoxProc->ProcInfo, cbProcInfo);
     
    450450    if (fd >= 0)
    451451    {
    452         RTFILE hFile = fd;
     452        RTFILE hFile = (RTFILE)(uintptr_t)fd;
    453453        size_t cbRead;
    454454        size_t cbProcStatus = sizeof(pstatus_t);
     
    550550    }
    551551
    552     RTFILE hFile = fd;
     552    RTFILE hFile = (RTFILE)(uintptr_t)fd;
    553553    uint64_t u64Size;
    554554    RTFileGetSize(hFile, &u64Size);
     
    645645    }
    646646
    647     RTFILE hFile = fd;
     647    RTFILE hFile = (RTFILE)(uintptr_t)fd;
    648648    RTStrPrintf(szPath, sizeof(szPath), "/proc/%d/as", (int)pVBoxProc->Process);
    649649    fd = open(szPath, O_RDONLY);
    650650    if (fd >= 0)
    651651    {
    652         pVBoxProc->hAs = fd;
     652        pVBoxProc->hAs = (RTFILE)(uintptr_t)fd;
    653653
    654654        /*
     
    11851185    if (fd >= 0)
    11861186    {
    1187         RTFILE hFile = fd;
     1187        RTFILE hFile = (RTFILE)(uintptr_t)fd;
    11881188        uint64_t u64Size;
    11891189        RTFileGetSize(hFile, &u64Size);
     
    18191819    }
    18201820
    1821     pVBoxProc->hAs = fd;
     1821    pVBoxProc->hAs = (RTFILE)(uintptr_t)fd;
    18221822
    18231823    /*
     
    18321832    }
    18331833
    1834     pVBoxCore->hCoreFile = fd;
     1834    pVBoxCore->hCoreFile = (RTFILE)(uintptr_t)fd;
    18351835
    18361836    pVBoxCore->offWrite = 0;
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