RmRemove warnings

svn path=/trunk/; revision=17609
This commit is contained in:
Hervé Poussineau 2005-09-02 21:13:10 +00:00
parent 9b308f9dbf
commit 45c69b6adb
8 changed files with 6 additions and 13 deletions

View file

@ -1,4 +1,4 @@
<module name="dflat32" type="win32cui" installbase="system32" installname="edit.exe" warnings="true"> <module name="dflat32" type="win32cui" installbase="system32" installname="edit.exe">
<include base="ReactOS">include/wine</include> <include base="ReactOS">include/wine</include>
<include base="dflat32">.</include> <include base="dflat32">.</include>
<define name="__USE_W32API" /> <define name="__USE_W32API" />

View file

@ -260,7 +260,6 @@ static void OpenPadWindow(DFWINDOW wnd, char *FileName,char *NewFileName)
DFWINDOW wwnd; DFWINDOW wwnd;
struct stat sb; struct stat sb;
char *Fname = FileName; char *Fname = FileName;
char *Fnewname = NewFileName;
char *ermsg; char *ermsg;
if (strcmp(FileName, Untitled)) if (strcmp(FileName, Untitled))

View file

@ -21,7 +21,7 @@ static void sizeborder(DFWINDOW, int, int);
static int px = -1, py = -1; static int px = -1, py = -1;
static int diff; static int diff;
static struct DfWindow dwnd = {DF_DUMMY, NULL, DfNormalProc, static struct DfWindow dwnd = {DF_DUMMY, NULL, DfNormalProc,
{-1,-1,-1,-1}}; {{-1},{-1},{-1},{-1}}};
static PCHAR_INFO Bsave; static PCHAR_INFO Bsave;
static int Bht, Bwd; static int Bht, Bwd;
BOOL DfWindowMoving; BOOL DfWindowMoving;

View file

@ -82,7 +82,7 @@ int main(int argc, char **argv)
strDesc = (LPSTR)++wstrName; strDesc = (LPSTR)++wstrName;
if (!nAdapterCount) { if (!nAdapterCount) {
printf("No Packet Adaptors found (%d)\n", AdapterLength); printf("No Packet Adaptors found (%lu)\n", AdapterLength);
} else { } else {
printf("Adaptor count: %d\n", nAdapterCount); printf("Adaptor count: %d\n", nAdapterCount);
} }

View file

@ -1,4 +1,4 @@
<module name="niclist" type="win32cui" installbase="system32" installname="niclist.exe" warnings="true"> <module name="niclist" type="win32cui" installbase="system32" installname="niclist.exe">
<include base="niclist">.</include> <include base="niclist">.</include>
<define name="__USE_W32API" /> <define name="__USE_W32API" />
<define name="_WIN32_IE">0x0501</define> <define name="_WIN32_IE">0x0501</define>

View file

@ -254,7 +254,7 @@ main(
lint.QuadPart = -2000000; lint.QuadPart = -2000000;
if( SetWaitableTimer( WaitableTimer, &lint, 200, NULL, NULL, FALSE ) == FALSE ) if( SetWaitableTimer( WaitableTimer, &lint, 200, NULL, NULL, FALSE ) == FALSE )
{ {
printf( "SetWaitableTimer() failed: %x\n", GetLastError() ); printf( "SetWaitableTimer() failed: 0x%lx\n", GetLastError() );
return 2; return 2;
} }
SetConsoleActiveScreenBuffer(ScreenBuffer); SetConsoleActiveScreenBuffer(ScreenBuffer);

View file

@ -1,4 +1,4 @@
<module name="notevil" type="win32cui" installbase="system32" installname="notevil.exe" warnings="true"> <module name="notevil" type="win32cui" installbase="system32" installname="notevil.exe">
<include base="notevil">.</include> <include base="notevil">.</include>
<define name="__USE_W32API" /> <define name="__USE_W32API" />
<define name="_WIN32_IE">0x0501</define> <define name="_WIN32_IE">0x0501</define>

View file

@ -42,12 +42,6 @@ HBITMAP hbmpOld;
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
static void AddItem(HWND hListBox, LPCTSTR lpstr, HBITMAP hbmp)
{
int nItem = SendMessage(hListBox, LB_ADDSTRING, 0, (LPARAM)lpstr);
SendMessage(hListBox, LB_SETITEMDATA, nItem, (LPARAM)hbmp);
}
static TCHAR* items[] = { static TCHAR* items[] = {
_T("services"), _T("services"),
_T("event log"), _T("event log"),