Module: wine Branch: master Commit: 82ea2994e8f20f0b565a7ef2dca86342a0a5e912 URL: http://source.winehq.org/git/wine.git/?a=commit;h=82ea2994e8f20f0b565a7ef2dc...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Feb 6 23:20:27 2009 +0100
winepath: Fixed the wmain() definition.
---
programs/winepath/winepath.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/winepath/winepath.c b/programs/winepath/winepath.c index 2471803..1645ee9 100644 --- a/programs/winepath/winepath.c +++ b/programs/winepath/winepath.c @@ -90,7 +90,7 @@ static int option(int shortopt, const WCHAR *longopt) /* * 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 shortW[] = { 's','h','o','r','t',0 }; @@ -140,7 +140,7 @@ static int parse_options(const WCHAR *argv[]) /* * 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; LPWSTR (*CDECL wine_get_dos_file_name_ptr)(LPCSTR) = NULL;