Commit 82ea2994 authored by Alexandre Julliard's avatar Alexandre Julliard

winepath: Fixed the wmain() definition.

parent 8e71504e
...@@ -90,7 +90,7 @@ static int option(int shortopt, const WCHAR *longopt) ...@@ -90,7 +90,7 @@ static int option(int shortopt, const WCHAR *longopt)
/* /*
* Parse command line options * Parse command line options
*/ */
static int parse_options(const WCHAR *argv[]) static int parse_options(WCHAR *argv[])
{ {
static const WCHAR longW[] = { 'l','o','n','g',0 }; static const WCHAR longW[] = { 'l','o','n','g',0 };
static const WCHAR shortW[] = { 's','h','o','r','t',0 }; static const WCHAR shortW[] = { 's','h','o','r','t',0 };
...@@ -140,7 +140,7 @@ static int parse_options(const WCHAR *argv[]) ...@@ -140,7 +140,7 @@ static int parse_options(const WCHAR *argv[])
/* /*
* Main function * Main function
*/ */
int wmain(int argc, const WCHAR *argv[]) int wmain(int argc, WCHAR *argv[])
{ {
LPSTR (*CDECL wine_get_unix_file_name_ptr)(LPCWSTR) = NULL; LPSTR (*CDECL wine_get_unix_file_name_ptr)(LPCWSTR) = NULL;
LPWSTR (*CDECL wine_get_dos_file_name_ptr)(LPCSTR) = NULL; LPWSTR (*CDECL wine_get_dos_file_name_ptr)(LPCSTR) = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment