mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[AFD]
- fix MSVC build svn path=/trunk/; revision=52605
This commit is contained in:
@@ -81,10 +81,11 @@ VOID TaCopyAddressInPlace( PTA_ADDRESS Target,
|
||||
|
||||
PTA_ADDRESS TaCopyAddress( PTA_ADDRESS Source ) {
|
||||
UINT AddrLen = TaLengthOfAddress( Source );
|
||||
PVOID Buffer;
|
||||
if (!AddrLen)
|
||||
return NULL;
|
||||
|
||||
PVOID Buffer = ExAllocatePool( NonPagedPool, AddrLen );
|
||||
Buffer = ExAllocatePool( NonPagedPool, AddrLen );
|
||||
|
||||
if (Buffer)
|
||||
RtlCopyMemory( Buffer, Source, AddrLen );
|
||||
|
||||
Reference in New Issue
Block a user