I'm compiling a program on gcc by using -Wbad-function-cast
flag. The gcc show the following warning:
cast does not match function type
this is line of warning: int ret = (int)
FindExecutable(file, NULL, result)
The question is: it's possible remove it? maybe casting to another windows data type, but that I handling it as an integer.