"Michael GЭnnewig" MichaelGuennewig@gmx.de wrote:
This patch is a replacement of the one from
Fri Oct 11 2002 - 16:49:14 CDT
...
- static WCHAR streamTypeFmt[] = {'%','4','.','4','h','s'};
...
- wsprintfW(szType, streamTypeFmt, (char*)&streamHdr.fccType);
1. streamTypeFmt is not NULL terminated. 2. If you don't mind, please add a 'const' modifier.
Thanks.
-- Dmitry.
"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