Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22133

How do I remove the bad cast HINSTANCE to int?

$
0
0

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.


Viewing all articles
Browse latest Browse all 22133

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>