From: Elizabeth Figura <zfigura@codeweavers.com> --- dlls/quartz/filesource.c | 3 +-- dlls/quartz/filtergraph.c | 22 +++++++++------------- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/dlls/quartz/filesource.c b/dlls/quartz/filesource.c index 2f85808d43e..02cae5b654b 100644 --- a/dlls/quartz/filesource.c +++ b/dlls/quartz/filesource.c @@ -872,8 +872,7 @@ static HRESULT WINAPI FileAsyncReader_SyncRead(IAsyncReader *iface, HRESULT hr; BOOL ret; - TRACE("filter %p, offset %s, length %ld, buffer %p.\n", - filter, wine_dbgstr_longlong(offset), length, buffer); + TRACE("filter %p, offset %#I64x, length %ld, buffer %p.\n", filter, offset, length, buffer); ret = sync_read(filter->file, offset, length, buffer, &read_len); if (ret) diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c index 79fcc425e53..efe604530db 100644 --- a/dlls/quartz/filtergraph.c +++ b/dlls/quartz/filtergraph.c @@ -2320,8 +2320,7 @@ static HRESULT WINAPI MediaSeeking_GetDuration(IMediaSeeking *iface, LONGLONG *d LeaveCriticalSection(&graph->cs); - TRACE("Returning hr %#lx, duration %s (%s seconds).\n", hr, - wine_dbgstr_longlong(*duration), debugstr_time(*duration)); + TRACE("Returning hr %#lx, duration %I64d (%s seconds).\n", hr, *duration, debugstr_time(*duration)); return hr; } @@ -2362,7 +2361,7 @@ static HRESULT WINAPI MediaSeeking_GetStopPosition(IMediaSeeking *iface, LONGLON LeaveCriticalSection(&graph->cs); - TRACE("Returning %s (%s seconds).\n", wine_dbgstr_longlong(*stop), debugstr_time(*stop)); + TRACE("Returning %I64d (%s seconds).\n", *stop, debugstr_time(*stop)); return hr; } @@ -2392,7 +2391,7 @@ static HRESULT WINAPI MediaSeeking_GetCurrentPosition(IMediaSeeking *iface, LONG LeaveCriticalSection(&graph->cs); - TRACE("Returning %s (%s seconds).\n", wine_dbgstr_longlong(ret), debugstr_time(ret)); + TRACE("Returning %I64d (%s seconds).\n", ret, debugstr_time(ret)); *current = ret; return S_OK; @@ -2403,8 +2402,8 @@ static HRESULT WINAPI MediaSeeking_ConvertTimeFormat(IMediaSeeking *iface, LONGL { struct filter_graph *This = impl_from_IMediaSeeking(iface); - TRACE("(%p/%p)->(%p, %s, 0x%s, %s)\n", This, iface, pTarget, - debugstr_guid(pTargetFormat), wine_dbgstr_longlong(Source), debugstr_guid(pSourceFormat)); + TRACE("graph %p, target %p, target_format %s, source %I64d, source_format %s.\n", + This, pTarget, debugstr_guid(pTargetFormat), Source, debugstr_guid(pSourceFormat)); if (!pSourceFormat) pSourceFormat = &This->timeformatseek; @@ -2428,15 +2427,12 @@ static HRESULT WINAPI MediaSeeking_SetPositions(IMediaSeeking *iface, LONGLONG * struct filter *filter; FILTER_STATE state; - TRACE("graph %p, current %s, current_flags %#lx, stop %s, stop_flags %#lx.\n", graph, - current_ptr ? wine_dbgstr_longlong(*current_ptr) : "<null>", current_flags, - stop_ptr ? wine_dbgstr_longlong(*stop_ptr): "<null>", stop_flags); + TRACE("graph %p, current %p, current_flags %#lx, stop %p, stop_flags %#lx.\n", + graph, current_ptr, current_flags, stop_ptr, stop_flags); if (current_ptr) - TRACE("Setting current position to %s (%s seconds).\n", - wine_dbgstr_longlong(*current_ptr), debugstr_time(*current_ptr)); + TRACE("Setting current position to %I64d (%s seconds).\n", *current_ptr, debugstr_time(*current_ptr)); if (stop_ptr) - TRACE("Setting stop position to %s (%s seconds).\n", - wine_dbgstr_longlong(*stop_ptr), debugstr_time(*stop_ptr)); + TRACE("Setting stop position to %I64d (%s seconds).\n", *stop_ptr, debugstr_time(*stop_ptr)); if ((current_flags & 0x7) != AM_SEEKING_AbsolutePositioning && (current_flags & 0x7) != AM_SEEKING_NoPositioning) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/11021