aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/dhav.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-11-20 17:00:48 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-11-26 16:10:24 +0100
commit71204e8e3d0ae0b70dcac31ce3a984db79cd4eb0 (patch)
treebad4f2a70512767bade4875f83d295652c7015a3 /libavformat/dhav.c
parent9207dc3b0db368bb9cf5eb295cbc1129c2975e31 (diff)
downloadffmpeg-71204e8e3d0ae0b70dcac31ce3a984db79cd4eb0.tar.gz
Revert "Disable warnings for casting pointers to integers, there is nothing wrong with that."
This reverts commit 5258f64a14713499cf84840b3ab3a1ee7cdcaeb8. The premise of said commit (that conversions from pointer to int are ok) is wrong: C99/C11 6.3.2.3 5: "Any pointer type may be converted to an integer type. [...] If the result cannot be represented in the integer type, the behavior is undefined." (C90 6.3.4 contains a similar restriction.) So don't disable -Wpointer-to-int-cast. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/dhav.c')
0 files changed, 0 insertions, 0 deletions