Author: tkreuzer
Date: Tue Apr  3 14:56:58 2012
New Revision: 56329

URL: http://svn.reactos.org/svn/reactos?rev=56329&view=rev
Log:
{PORTCLS]
forgot this one

Modified:
    trunk/reactos/drivers/wdm/audio/backpln/portcls/dma_slave.cpp

Modified: trunk/reactos/drivers/wdm/audio/backpln/portcls/dma_slave.cpp
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/backpln/portcls/dma_slave.cpp?rev=56329&r1=56328&r2=56329&view=diff
==============================================================================
--- trunk/reactos/drivers/wdm/audio/backpln/portcls/dma_slave.cpp [iso-8859-1] 
(original)
+++ trunk/reactos/drivers/wdm/audio/backpln/portcls/dma_slave.cpp [iso-8859-1] 
Tue Apr  3 14:56:58 2012
@@ -151,7 +151,7 @@
     DPRINT("CDmaChannelInit_CopyTo: this %p Destination %p Source %p ByteCount 
%u\n", this, Destination, Source, ByteCount);
     RtlCopyMemory(Destination, Source, ByteCount);
 }
-  
+
 VOID
 NTAPI
 CDmaChannelInit::FreeBuffer()
@@ -217,7 +217,7 @@
     PHYSICAL_ADDRESS Result;
 
     Address->QuadPart = m_Address.QuadPart;
-    Result.QuadPart = (PtrToUlong(Address));
+    Result.QuadPart = (ULONG_PTR)Address;
     return Result;
 }
 
@@ -365,7 +365,7 @@
     if (!m_DmaStarted)
         return STATUS_SUCCESS;
 
-    m_pAdapter->DmaOperations->FlushAdapterBuffers(m_pAdapter, 
+    m_pAdapter->DmaOperations->FlushAdapterBuffers(m_pAdapter,
                                                        m_Mdl,
                                                        m_MapRegisterBase,
                                                        
(PVOID)((ULONG_PTR)m_Mdl->StartVa + m_Mdl->ByteOffset),


Reply via email to