mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:03:00 +00:00
[UDFS] Fix 64 bit issues
This commit is contained in:
parent
be97da34ac
commit
c334c17d69
23 changed files with 257 additions and 246 deletions
|
@ -440,7 +440,7 @@ BOOLEAN NTAPI UDFAcqLazyWrite(
|
|||
|
||||
// Now, set the lazy-writer thread id.
|
||||
ASSERT(!(NtReqFcb->LazyWriterThreadID));
|
||||
NtReqFcb->LazyWriterThreadID = (unsigned int)(PsGetCurrentThread());
|
||||
NtReqFcb->LazyWriterThreadID = HandleToUlong(PsGetCurrentThreadId());
|
||||
|
||||
ASSERT(IoGetTopLevelIrp() == NULL);
|
||||
IoSetTopLevelIrp((PIRP)FSRTL_CACHE_TOP_LEVEL_IRP);
|
||||
|
@ -481,7 +481,7 @@ UDFRelLazyWrite(
|
|||
|
||||
// Remove the current thread-id from the NT_REQ_FCB
|
||||
// and release the MainResource.
|
||||
ASSERT((NtReqFcb->LazyWriterThreadID) == (unsigned int)PsGetCurrentThread());
|
||||
ASSERT((NtReqFcb->LazyWriterThreadID) == HandleToUlong(PsGetCurrentThreadId()));
|
||||
NtReqFcb->LazyWriterThreadID = 0;
|
||||
|
||||
// Release the acquired resource.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue