diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-02-14 12:24:03 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-02-14 10:20:36 -0300 |
commit | dc46b3c34e0651215a9357bcc0aba04e2bad9721 (patch) | |
tree | 19ba39f7a585546469948f14f49952e3966ba566 /fftools/cmdutils.h | |
parent | 5fe6c6b8f4e249a64aad453a7b4edddcd26a61a1 (diff) | |
download | ffmpeg-dc46b3c34e0651215a9357bcc0aba04e2bad9721.tar.gz |
avcodec/dvdsub: Fix warning about incompatible pointer type
Fixes "passing argument 2 of ‘strtoul’ from incompatible pointer
type [-Wincompatible-pointer-types]" ("expected ‘char ** restrict’ but
argument is of type ‘const char **’") for GCC and "passing 'const char
**' to parameter of type 'char **' discards qualifiers in nested pointer
types [-Wincompatible-pointer-types-discards-qualifiers]" for Clang.
The cast itself is safe; it is only needed because strtoul itself is not
const-correct.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'fftools/cmdutils.h')
0 files changed, 0 insertions, 0 deletions