-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > I'm afraid the following change to dlls/dmusic/dmusic_misc.c <snip> > is causing the following warning: > > dmusic_misc.c:260: warning: passing arg 2 of > `IDirectMusicPerformanceImpl_SetGraph' from incompatible pointer type don't worry it's only a cast i have forgot. See attached patch. > Could someone more familiar with this have a look at what's wrong? > > Thanks, > Gerald Changelog: - fix a warning seen by Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> This 'incremental' patch need the last Christian patch Regards, Raphael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+7gatp7NA3AmQTU4RAlsXAJ98TJ/T+KF2SoqRtF6WiXUWBW7DJQCfVaTG eeLvkrbLDSaR96h17CfTUj0= =rSUe -----END PGP SIGNATURE-----
Les sous-répertoires /cvs-src/wine-pending/dmusic_05/CVS et dlls/dmusic/CVS sont identiques. diff -u /cvs-src/wine-pending/dmusic_05/dmusic_misc.c dlls/dmusic/dmusic_misc.c --- /cvs-src/wine-pending/dmusic_05/dmusic_misc.c 2003-06-16 19:54:26.000000000 +0200 +++ dlls/dmusic/dmusic_misc.c 2003-06-16 19:54:36.000000000 +0200 @@ -283,7 +283,7 @@ pGraph = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(IDirectMusicGraphImpl)); pGraph->lpVtbl = &DirectMusicGraph_Vtbl; pGraph->ref = 1; - IDirectMusicPerformanceImpl_SetGraph((LPDIRECTMUSICPERFORMANCE) This->perfo, pGraph); + IDirectMusicPerformanceImpl_SetGraph((LPDIRECTMUSICPERFORMANCE) This->perfo, (IDirectMusicGraph*) pGraph); /* we need release as SetGraph do an AddRef */ IDirectMusicGraphImpl_Release((LPDIRECTMUSICGRAPH) pGraph); pPerfoGraph = (LPDIRECTMUSICGRAPH) pGraph;