[FFmpeg-devel] [PATCH 3/5] lavu/dict: remove weird intptr_t cast

Nicolas George george at nsup.org
Sat Dec 13 13:55:44 CET 2014


> > I can't come up with a reason why this would be needed.

Reading the commit message where this was introduced would be a good start:

# commit 8aed90958d8bbf4a0652fdc56b9655ad9962fa50
# Author: Michael Niedermayer <michaelni at gmx.at>
# Date:   2011-10-17 22:56:13 +0200
# 
#     dict: fix assignment discards qualifiers from pointer target type warnings.
#     
#     Signed-off-by: Michael Niedermayer <michaelni at gmx.at>


Le tridi 23 frimaire, an CCXXIII, Michael Niedermayer a écrit :
> if people prefer this, i can apply it, it might cause an additional
> warning with some compilers though

For what it's worth, I prefer the code building with fewer warnings.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141213/1a058544/attachment.asc>


More information about the ffmpeg-devel mailing list