Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • I see. But then why would anybody want to do this for a function already returning void? Commented Jun 14, 2010 at 8:54
  • Sure, but he said the cast was made for functions that return void. Commented Jun 14, 2010 at 8:54
  • 4
    @puffadder At a guess, the function's return type got changed at some point, but the calling code didn't. Commented Jun 14, 2010 at 8:57