VirtualBox

Changeset 18488 in vbox for trunk/src


Ignore:
Timestamp:
Mar 29, 2009 1:36:47 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
45327
Message:

svchlp.cpp: Two size_t/DWORD warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/win/svchlp.cpp

    r17905 r18488  
    168168
    169169    DWORD written = 0;
    170     BOOL ok = WriteFile (mWriteEnd, aVal, aLen, &written, NULL);
     170    BOOL ok = WriteFile (mWriteEnd, aVal, (ULONG)aLen, &written, NULL);
    171171    AssertReturn (!ok || written == aLen, VERR_GENERAL_FAILURE);
    172172    return ok ? VINF_SUCCESS : rtErrConvertFromWin32OnFailure();
     
    210210
    211211    DWORD read = 0;
    212     BOOL ok = ReadFile (mReadEnd, aVal, aLen, &read, NULL);
     212    BOOL ok = ReadFile (mReadEnd, aVal, (ULONG)aLen, &read, NULL);
    213213    AssertReturn (!ok || read == aLen, VERR_GENERAL_FAILURE);
    214214    return ok ? VINF_SUCCESS : rtErrConvertFromWin32OnFailure();
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