I want to compare what I get on the command line in winmain with an if statement.. I am getting a beginers error but I don't have an example to use to fix it.. cannot convert from 'const int' to 'char *' in this line if (__argv[1] = 'file'){};
I am very lost with this error and any help would be apreaceated

Code:
int WINAPI WinMain(HINSTANCE hInstance, //handle to current instance
				   HINSTANCE hPrevInstance, //pointer
...