From ff523abdc5cbcacffcac539702f72e3be6dd7990 Mon Sep 17 00:00:00 2001 From: makise-homura Date: Wed, 27 Jan 2021 16:50:12 +0300 Subject: [PATCH] libcaption: get rid of excess warnings on Elbrus --- deps/libcaption/caption/caption.h | 2 +- deps/libcaption/caption/cea708.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deps/libcaption/caption/caption.h b/deps/libcaption/caption/caption.h index ee4d8a78c06d14..a277f492489fc7 100644 --- a/deps/libcaption/caption/caption.h +++ b/deps/libcaption/caption/caption.h @@ -99,7 +99,7 @@ static inline int caption_frame_painton(caption_frame_t* frame) { return (frame- /*! \brief \param */ -const static int _caption_frame_rollup[] = { 0, 2, 3, 4 }; +static const int _caption_frame_rollup[] = { 0, 2, 3, 4 }; static inline int caption_frame_rollup(caption_frame_t* frame) { return _caption_frame_rollup[frame->state.rup]; } /*! \brief \param diff --git a/deps/libcaption/caption/cea708.h b/deps/libcaption/caption/cea708.h index c4b35e5c581b7d..c48d9f29079f61 100644 --- a/deps/libcaption/caption/cea708.h +++ b/deps/libcaption/caption/cea708.h @@ -87,8 +87,8 @@ typedef struct { double timestamp; } cea708_t; -const static uint32_t GA94 = (('G' << 24) | ('A' << 16) | ('9' << 8) | '4'); -const static uint32_t DTG1 = (('D' << 24) | ('T' << 16) | ('G' << 8) | '1'); +static const uint32_t GA94 = (('G' << 24) | ('A' << 16) | ('9' << 8) | '4'); +static const uint32_t DTG1 = (('D' << 24) | ('T' << 16) | ('G' << 8) | '1'); /*! \brief \param