mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
fix the signature of wWinMain (no bug). r=timeless
This commit is contained in:
parent
f1e59567b8
commit
078165780e
@ -467,7 +467,7 @@ int main(int argc, char** argv)
|
|||||||
#if defined(XP_WIN) && !defined(__GNUC__)
|
#if defined(XP_WIN) && !defined(__GNUC__)
|
||||||
// We need WinMain in order to not be a console app. This function is unused
|
// We need WinMain in order to not be a console app. This function is unused
|
||||||
// if we are a console application.
|
// 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<char**>(malloc(__argc * sizeof(char*)));
|
char** argv = static_cast<char**>(malloc(__argc * sizeof(char*)));
|
||||||
for (int i = 0; i < __argc; i++) {
|
for (int i = 0; i < __argc; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user