[FFmpeg-devel] [PATCH] Fix warnings about int64toint32conversion

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed May 16 15:16:03 CEST 2012


On Wed, May 16, 2012 at 08:15:27AM -0400, Don Moir wrote:
> All I know Reimar is you usually will complain and thats a good
> thing, but you usually end up doing the right thing. If your
> principles are so much that you wish to proagate these warnings,
> then it is what it is and the warnings will continue. There is
> probably nothing one can do to make MS change this and it would
> probably be just another waste of time.

I am not so pessimistic. For example they do seem to have a special
case for not warning about
uint32_t = uint64_t & 0xffffffffu;
(at least in 2010 version, no idea what version you use?)
So I believe there is a chance that at least the trivial x >> 32 case
would be fixed (unless it already is, just not in the version you use?).
Thus I do believe it would be a good idea and possibly not completely
wasted time to make trivial test cases out of these and submit them
as enhancement requests.
I don't think I personally will be motivated to, plus I am not even
a paying customer so not really the best person to do it anyway.


More information about the ffmpeg-devel mailing list