VirtualBox

Changeset 36601 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Apr 6, 2011 8:07:12 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71046
Message:

build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/fileio-win.cpp

    r36597 r36601  
    362362    }
    363363
    364     HANDLE hHandle = GetStdHandle(dwStdHandle);
     364    HANDLE hNative = GetStdHandle(dwStdHandle);
    365365    if (hNative == INVALID_HANDLE_VALUE)
    366366        return NIL_RTFILE;
    367367
    368     RTFILE hFile = (RTFILE)(uintptr_t)hHandle;
    369     AssertReturn((HANDLE)(uintptr_t)hFile == hHandle, NIL_RTFILE);
     368    RTFILE hFile = (RTFILE)(uintptr_t)hNative;
     369    AssertReturn((HANDLE)(uintptr_t)hFile == hNative, NIL_RTFILE);
    370370    return hFile;
    371371}
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