[PATCH 2/2] quartz: Use wine_dbgstr_longlong in WAVEParserImpl_seek

Andrew Eikum aeikum at codeweavers.com
Fri Aug 10 07:58:09 CDT 2018


Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>

On Fri, Aug 10, 2018 at 12:00:34AM -0600, Alex Henrie wrote:
> Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
> ---
>  dlls/quartz/waveparser.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/dlls/quartz/waveparser.c b/dlls/quartz/waveparser.c
> index d8f349b35f..fa9cd45d27 100644
> --- a/dlls/quartz/waveparser.c
> +++ b/dlls/quartz/waveparser.c
> @@ -206,13 +206,15 @@ static HRESULT WINAPI WAVEParserImpl_seek(IMediaSeeking *iface)
>  
>      if (newpos > endpos)
>      {
> -        WARN("Requesting position %x%08x beyond end of stream %x%08x\n", (DWORD)(newpos>>32), (DWORD)newpos, (DWORD)(endpos>>32), (DWORD)endpos);
> +        WARN("Requesting position %s beyond end of stream %s\n",
> +             wine_dbgstr_longlong(newpos), wine_dbgstr_longlong(endpos));
>          return E_INVALIDARG;
>      }
>  
>      if (curpos/1000000 == newpos/1000000)
>      {
> -        TRACE("Requesting position %x%08x same as current position %x%08x\n", (DWORD)(newpos>>32), (DWORD)newpos, (DWORD)(curpos>>32), (DWORD)curpos);
> +        TRACE("Requesting position %s same as current position %s\n",
> +              wine_dbgstr_longlong(newpos), wine_dbgstr_longlong(curpos));
>          return S_OK;
>      }
>  
> -- 
> 2.18.0
> 



More information about the wine-devel mailing list