VC give following warning on it:<br>Compiler Warning (level 3) C4800 'type' : forcing value to bool 'true' or 'false' (performance warning)<br><br>and discussion:<br><a href="http://stackoverflow.com/questions/1847860/why-is-there-a-performance-warning-on-cast-pointer-to-bool">http://stackoverflow.com/questions/1847860/why-is-there-a-performance-warning-on-cast-pointer-to-bool</a><br>
<br>but I don't worry about it, just don't like any warnings along compilations... just I can miss some realy important warning in batch of not important<br><br><div class="gmail_quote">2011/11/24 Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net">remi@remlab.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On Thu, 24 Nov 2011 07:34:48 +0100, Rémi Denis-Courmont <<a href="mailto:remi@remlab.net">remi@remlab.net</a>><br>

wrote:<br>
<div class="im">> bool r = libvlc_media_player_has_vout(libvlc_media_player);<br>
><br>
> is better than both.<br>
<br>
</div>In C. Not sure about C++.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Rémi Denis-Courmont<br>
<a href="http://www.remlab.net/" target="_blank">http://www.remlab.net/</a><br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br>