remove compiler warnings

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1528 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2002-08-02 14:00:52 +00:00
parent 02d4731cfa
commit a32af77ec0
3 changed files with 19 additions and 7 deletions

View file

@ -32,11 +32,15 @@ char bitmap[LCD_HEIGHT][LCD_WIDTH]; // the ui display
BITMAPINFO2 bmi =
{
sizeof (BITMAPINFOHEADER),
LCD_WIDTH, -LCD_HEIGHT, 1, 8,
BI_RGB, 0, 0, 0, 2, 2,
UI_LCD_BGCOLOR, 0, // green background color
UI_LCD_BLACK, 0 // black color
{sizeof (BITMAPINFOHEADER),
LCD_WIDTH, -LCD_HEIGHT, 1, 8,
BI_RGB, 0, 0, 0, 2, 2,
},
{
{UI_LCD_BGCOLOR, 0}, // green background color
{UI_LCD_BLACK, 0} // black color
}
}; // bitmap information
@ -76,4 +80,4 @@ void lcd_backlight (
}
InvalidateRect (hGUIWnd, NULL, FALSE);
}
}

View file

@ -36,6 +36,9 @@ int create_thread(void* fp, void* sp, int stk_size)
{
DWORD dwThreadID;
(void)sp;
(void)stk_size;
if (nThreads == 256)
return -1;

View file

@ -51,7 +51,6 @@ LRESULT GUIWndProc (
)
{
static HBITMAP hBkgnd;
static lpBmp [UI_WIDTH * UI_HEIGHT * 3];
static HDC hMemDc;
switch (uMsg)
@ -290,6 +289,12 @@ int WINAPI WinMain (
)
{
DWORD dwThreadID;
(void)hInstance;
(void)hPrevInstance;
(void)lpCmd;
(void)nShowCmd;
if (!GUIStartup ())
return 0;