[PATCH] quartz: Use wine_dbgstr_longlong() to trace REFERENCE_TIME

Nikolay Sivov nsivov at codeweavers.com
Fri Nov 25 03:18:43 CST 2016


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/quartz/filesource.c  | 2 +-
 dlls/quartz/filtergraph.c | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/dlls/quartz/filesource.c b/dlls/quartz/filesource.c
index 1024bd0..ed7e5ee 100644
--- a/dlls/quartz/filesource.c
+++ b/dlls/quartz/filesource.c
@@ -536,7 +536,7 @@ static HRESULT WINAPI AsyncReader_Run(IBaseFilter * iface, REFERENCE_TIME tStart
 {
     AsyncReader *This = impl_from_IBaseFilter(iface);
 
-    TRACE("(%x%08x)\n", (ULONG)(tStart >> 32), (ULONG)tStart);
+    TRACE("(%s)\n", wine_dbgstr_longlong(tStart));
 
     This->filter.state = State_Running;
 
diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c
index 88af2f6..faf6e51 100644
--- a/dlls/quartz/filtergraph.c
+++ b/dlls/quartz/filtergraph.c
@@ -5299,8 +5299,7 @@ static HRESULT WINAPI MediaFilter_Run(IMediaFilter *iface, REFERENCE_TIME tStart
     IFilterGraphImpl *This = impl_from_IMediaFilter(iface);
 
     if (tStart)
-        FIXME("Run called with non-null tStart: %x%08x\n",
-              (int)(tStart>>32), (int)tStart);
+        FIXME("Run called with non-null tStart: %s\n", wine_dbgstr_longlong(tStart));
 
     return MediaControl_Run(&This->IMediaControl_iface);
 }
-- 
2.10.2




More information about the wine-patches mailing list