Hi!
I have run into a warning, when compiling with gcc 3.1 (I dont know if it is reported or not with 2.x gccs). And I think the warning is right. I dont think that the initializer of nil is right. It initializes an zero (0) character length WCHAR array to a one character lenght array.
Or I just does not understand something?
Here is the code snippet from dlls/commctl32/ipaddress.c line 265:
static void IPADDRESS_ClearAddress (IPADDRESS_INFO *infoPtr) { WCHAR nil[0] = { 0 }; int i;
TRACE("\n");
for (i = 0; i < 4; i++) SetWindowTextW (infoPtr->Part[i].EditHwnd, nil); }
Best regards Zsolt Rizsanyi