- Timestamp:
- Mar 29, 2009 1:36:47 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 45327
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/win/svchlp.cpp
r17905 r18488 168 168 169 169 DWORD written = 0; 170 BOOL ok = WriteFile (mWriteEnd, aVal, aLen, &written, NULL);170 BOOL ok = WriteFile (mWriteEnd, aVal, (ULONG)aLen, &written, NULL); 171 171 AssertReturn (!ok || written == aLen, VERR_GENERAL_FAILURE); 172 172 return ok ? VINF_SUCCESS : rtErrConvertFromWin32OnFailure(); … … 210 210 211 211 DWORD read = 0; 212 BOOL ok = ReadFile (mReadEnd, aVal, aLen, &read, NULL);212 BOOL ok = ReadFile (mReadEnd, aVal, (ULONG)aLen, &read, NULL); 213 213 AssertReturn (!ok || read == aLen, VERR_GENERAL_FAILURE); 214 214 return ok ? VINF_SUCCESS : rtErrConvertFromWin32OnFailure();
Note:
See TracChangeset
for help on using the changeset viewer.