Allow XMA decoder to be suspended.

This commit is contained in:
Ben Vanik
2015-12-30 10:49:01 -08:00
parent c296d581cf
commit 0482ffad5a
3 changed files with 3 additions and 2 deletions

View File

@@ -201,7 +201,7 @@ dword_result_t NtReadFile(dword_t file_handle, dword_t event_handle,
apc_context);
if (io_status_block) {
io_status_block->status = result;
io_status_block->information = (uint32_t)bytes_read;
io_status_block->information = static_cast<uint32_t>(bytes_read);
}
// Queue the APC callback. It must be delivered via the APC mechanism even