On 08/21/2012 08:44 AM, Martin Velek wrote:
Hello,

Would it not be simpler (and possibly more efficient) to just use 'int'
instead of 'enum MHD_OPTION' as suggested by the compiler's warning? I'd
certainly be willing to do that instead as well...
Yes, it would be. I hope it will not break code on the other compilers.
It really should not as the standard says that enum==int, and we just used enum for 'documentation' purposes here. I'll additionally add a cast to the enum from the int. => SVN 23342.

Happy hacking!

-Christian


Reply via email to