"Dmitry Timoshkov" dmitry@baikal.ru writes:
"Michael GЭnnewig" MichaelGuennewig@gmx.de wrote:
...
- static WCHAR streamTypeFmt[] = {'%','4','.','4','h','s'};
...
- wsprintfW(szType, streamTypeFmt, (char*)&streamHdr.fccType);
- streamTypeFmt is not NULL terminated.
- If you don't mind, please add a 'const' modifier.
Oops. Thanks. Here is the little patch for fixing these issues.
Michael Günnewig