13 Oct
2002
13 Oct
'02
10:31 a.m.
"Michael GЭnnewig" <MichaelGuennewig(a)gmx.de> wrote:
But when I change the code to use the "static const WCHAR[]" the compiler complains: ,----- | factory.c: In function `AVIFILE_BasenameW': | factory.c:163: warning: comparison between pointer and integer | factory.c:163: warning: comparison between pointer and integer | factory.c:163: warning: comparison between pointer and integer `-----
So I have adjusted to use this:
static const WCHAR dotW = (WCHAR)'.';
The it compiles and works also for my. Is this okay?
No.
When it's I will change it with my next patch, which still waits to be verified and be submitted.
Look at other places in Wine source how to do it properly. -- Dmitry.