# HG changeset patch # User Sam Lantinga # Date 1184900308 0 # Node ID 70e77cbba87cc809f89340dbc85972bef5e3eb50 # Parent a66ac59b39397406ecfb710595e2f4772bdee078 Fixed warnings in NO_STDIO mode diff -r a66ac59b3939 -r 70e77cbba87c src/main/win32/SDL_win32_main.c --- a/src/main/win32/SDL_win32_main.c Thu Jul 19 08:12:45 2007 +0000 +++ b/src/main/win32/SDL_win32_main.c Fri Jul 20 02:58:28 2007 +0000 @@ -234,12 +234,6 @@ char **argv; int argc; char *cmdline; - DWORD pathlen; -#ifdef _WIN32_WCE - wchar_t path[MAX_PATH]; -#else - char path[MAX_PATH]; -#endif #ifdef _WIN32_WCE wchar_t *bufp; int nLen; @@ -248,6 +242,12 @@ size_t nLen; #endif #ifndef NO_STDIO_REDIRECT + DWORD pathlen; +#ifdef _WIN32_WCE + wchar_t path[MAX_PATH]; +#else + char path[MAX_PATH]; +#endif FILE *newfp; #endif