comctl32: Win64 printf format warning fixes.

Michael Stefaniuc mstefani at redhat.com
Fri Oct 13 14:59:15 CDT 2006


Hey,

did you manually edited the patch afterwards?


Michael [Plouj] Ploujnikov wrote:
> 
> ------------------------------------------------------------------------
> 
> comctl32: Win64 printf format warning fixes.
> 
> From: Michael Ploujnikov <ploujj at gmail.com>
> 
> required fixing some macros
> ---
> 

>  dlls/comctl32/animate.c       |   64 ++++++++++++-----------

> diff --git a/dlls/comctl32/animate.c b/dlls/comctl32/animate.c
> index b6309cd..8d5b688 100644
> --- a/dlls/comctl32/animate.c
> +++ b/dlls/comctl32/animate.c
> @@ -498,16 +498,16 @@ static BOOL ANIMATE_GetAviInfo(ANIMATE_I
>  
>      mmioRead(infoPtr->hMMio, (LPSTR)&infoPtr->mah, sizeof(infoPtr->mah));
>  
> -    TRACE("mah.dwMicroSecPerFrame=%ld\n", 	infoPtr->mah.dwMicroSecPerFrame);
> -    TRACE("mah.dwMaxBytesPerSec=%ld\n", 	infoPtr->mah.dwMaxBytesPerSec);
> -    TRACE("mah.dwPaddingGranularity=%ld\n", 	infoPtr->mah.dwPaddingGranularity);
> -    TRACE("mah.dwFlags=%ld\n", 			infoPtr->mah.dwFlags);
> -    TRACE("mah.dwTotalFrames=%ld\n", 		infoPtr->mah.dwTotalFrames);
> -    TRACE("mah.dwInitialFrames=%ld\n", 		infoPtr->mah.dwInitialFrames);
> -    TRACE("mah.dwStreams=%ld\n", 		infoPtr->mah.dwStreams);
> -    TRACE("mah.dwSuggestedBufferSize=%ld\n",	infoPtr->mah.dwSuggestedBufferSize);
> -    TRACE("mah.dwWidth=%ld\n", 			infoPtr->mah.dwWidth);
> -    TRACE("mah.dwHeight=%ld\n", 		infoPtr->mah.dwHeight);
> +    TRACE("mah.dwMicroSecPerFrame=%d\n", 	infoPtr->mah.dwMicroSecPerFrame);
> +    TRACE("mah.dwMaxBytesPerSec=%d\n",		infoPtr->mah.dwMaxBytesPerSec);
> +    TRACE("mah.dwPaddingGranularity=%d\n", 	infoPtr->mah.dwPaddingGranularity);
> +    TRACE("mah.dwFlags=%d\n",			infoPtr->mah.dwFlags);
> +    TRACE("mah.dwTotalFrames=%d\n",		infoPtr->mah.dwTotalFrames);
> +    TRACE("mah.dwInitialFrames=%d\n"		infoPtr->mah.dwInitialFrames);
You are missing a ',' here ------------^

> +    TRACE("mah.dwStreams=%d\n",			infoPtr->mah.dwStreams);
> +    TRACE("mah.dwSuggestedBufferSize=%d\n",	infoPtr->mah.dwSuggestedBufferSize);
> +    TRACE("mah.dwWidth=%d\n",			infoPtr->mah.dwWidth);
> +    TRACE("mah.dwHeight=%d\n",			infoPtr->mah.dwHeight);
>  
>      mmioAscend(infoPtr->hMMio, &mmckInfo, 0);
>  

bye
	michael
-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
Sr. Network Engineer            Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani at redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart



More information about the wine-devel mailing list