From e99073ff836059f9dbe705e35cec8c14ba31f61f Mon Sep 17 00:00:00 2001 From: "ted.mielczarek@gmail.com" Date: Tue, 24 Jul 2007 18:06:13 -0700 Subject: [PATCH] fix the signature of wWinMain (no bug). r=timeless --- toolkit/crashreporter/client/crashreporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/crashreporter/client/crashreporter.cpp b/toolkit/crashreporter/client/crashreporter.cpp index feb4ba778471..7a2729394d5a 100644 --- a/toolkit/crashreporter/client/crashreporter.cpp +++ b/toolkit/crashreporter/client/crashreporter.cpp @@ -467,7 +467,7 @@ int main(int argc, char** argv) #if defined(XP_WIN) && !defined(__GNUC__) // We need WinMain in order to not be a console app. This function is unused // if we are a console application. -int WINAPI wWinMain( HINSTANCE, HINSTANCE, LPSTR args, int ) +int WINAPI wWinMain( HINSTANCE, HINSTANCE, LPWSTR args, int ) { char** argv = static_cast(malloc(__argc * sizeof(char*))); for (int i = 0; i < __argc; i++) {