[vlc-devel] [PATCH 4/4] jpeg: add a comment and an assertion to explain error handling

Maxim Bublis b at codemonkey.ru
Tue Jan 28 15:34:58 CET 2014


> +    assert(p_sys->p_jpeg.err == p_sys);
>

Should you add typecasting to avoid compilation warning?

warning: comparison of distinct pointer types ('struct jpeg_error_mgr *'
and 'decoder_sys_t *' (aka 'struct decoder_sys_t *'))


-- 
Maxim Bublis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140128/b27f7598/attachment.html>


More information about the vlc-devel mailing list