mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 09:03:25 +00:00
[ROSTESTS] fix x64 build and fix/disable warnings
This commit is contained in:
parent
6a67450893
commit
42d2d5ec9c
56 changed files with 229 additions and 171 deletions
|
@ -90,7 +90,7 @@ void
|
|||
CJournaledTestList::SerializeIntoJournal(const string& String)
|
||||
{
|
||||
DWORD BytesWritten;
|
||||
WriteFile(m_hJournal, String.c_str(), String.size() + 1, &BytesWritten, NULL);
|
||||
WriteFile(m_hJournal, String.c_str(), (ULONG)String.size() + 1, &BytesWritten, NULL);
|
||||
FlushFileBuffers(m_hJournal);
|
||||
}
|
||||
|
||||
|
@ -106,7 +106,7 @@ void
|
|||
CJournaledTestList::SerializeIntoJournal(const wstring& String)
|
||||
{
|
||||
DWORD BytesWritten;
|
||||
WriteFile(m_hJournal, String.c_str(), (String.size() + 1) * sizeof(WCHAR), &BytesWritten, NULL);
|
||||
WriteFile(m_hJournal, String.c_str(), ((ULONG)String.size() + 1) * sizeof(WCHAR), &BytesWritten, NULL);
|
||||
FlushFileBuffers(m_hJournal);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue