[PATCH] quartz: Remove useless casts to self

Michael Stefaniuc mstefani at winehq.org
Fri Mar 22 02:47:31 CDT 2019


Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
 dlls/quartz/avisplit.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/dlls/quartz/avisplit.c b/dlls/quartz/avisplit.c
index 40020bbfa9..f55ebf2219 100644
--- a/dlls/quartz/avisplit.c
+++ b/dlls/quartz/avisplit.c
@@ -955,10 +955,8 @@ static HRESULT AVISplitter_InitializeStreams(AVISplitterImpl *This)
 
         for (x = 0; x < This->Parser.cStreams; ++x)
         {
-            if ((DWORD)This->streams[x].frames != This->streams[x].streamheader.dwLength)
-            {
-                FIXME("stream %u: frames found: %u, frames meant to be found: %u\n", x, (DWORD)This->streams[x].frames, This->streams[x].streamheader.dwLength);
-            }
+            if (This->streams[x].frames != This->streams[x].streamheader.dwLength)
+                FIXME("stream %u: frames found: %u, frames meant to be found: %u\n", x, This->streams[x].frames, This->streams[x].streamheader.dwLength);
         }
 
     }
-- 
2.20.1




More information about the wine-devel mailing list