[PORTCLS]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 24 Aug 2011 20:21:07 +0000 (20:21 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 24 Aug 2011 20:21:07 +0000 (20:21 +0000)
Fix MSVC warnings

svn path=/trunk/; revision=53424

reactos/drivers/wdm/audio/backpln/portcls/irpstream.cpp

index 2c6b88c..62489cb 100644 (file)
@@ -43,7 +43,7 @@ protected:
     LIST_ENTRY m_IrpList;
     LIST_ENTRY m_FreeIrpList;
 
-    ULONG m_OutOfMapping;
+    BOOLEAN m_OutOfMapping;
     ULONG m_MaxFrameSize;
     ULONG m_Alignment;
     ULONG m_TagSupportEnabled;
@@ -372,7 +372,7 @@ CIrpQueue::UpdateMapping(
     ASSERT(StreamData);
 
     // add to current offset
-    InterlockedExchangeAdd((volatile PLONG)&m_CurrentOffset, (LONG)BytesWritten);
+    InterlockedExchangeAdd((PLONG)&m_CurrentOffset, (LONG)BytesWritten);
 
     if (m_Descriptor->DataFlow == KSPIN_DATAFLOW_OUT)
     {