From 96fab29e9659c9492783f6369c5e14c0316bb94b Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Mon, 6 Jan 2020 16:16:18 +0100 Subject: Silence "string-plus-int" warning shown by clang. libswscale/utils.c:89:42: warning: adding 'unsigned long' to a string does not append to the string [-Wstring-plus-int] --- libpostproc/postprocess.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpostproc') diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c index 1fef8747c0..e16ef259ce 100644 --- a/libpostproc/postprocess.c +++ b/libpostproc/postprocess.c @@ -108,7 +108,7 @@ const char *postproc_configuration(void) const char *postproc_license(void) { #define LICENSE_PREFIX "libpostproc license: " - return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1; + return &LICENSE_PREFIX FFMPEG_LICENSE[sizeof(LICENSE_PREFIX) - 1]; } #define GET_MODE_BUFFER_SIZE 500 -- cgit v1.2.3