Skip to content

Commit ff523ab

Browse files
committed
libcaption: get rid of excess warnings on Elbrus
1 parent 913821e commit ff523ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deps/libcaption/caption/caption.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ static inline int caption_frame_painton(caption_frame_t* frame) { return (frame-
9999
/*! \brief
100100
\param
101101
*/
102-
const static int _caption_frame_rollup[] = { 0, 2, 3, 4 };
102+
static const int _caption_frame_rollup[] = { 0, 2, 3, 4 };
103103
static inline int caption_frame_rollup(caption_frame_t* frame) { return _caption_frame_rollup[frame->state.rup]; }
104104
/*! \brief
105105
\param

deps/libcaption/caption/cea708.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ typedef struct {
8787
double timestamp;
8888
} cea708_t;
8989

90-
const static uint32_t GA94 = (('G' << 24) | ('A' << 16) | ('9' << 8) | '4');
91-
const static uint32_t DTG1 = (('D' << 24) | ('T' << 16) | ('G' << 8) | '1');
90+
static const uint32_t GA94 = (('G' << 24) | ('A' << 16) | ('9' << 8) | '4');
91+
static const uint32_t DTG1 = (('D' << 24) | ('T' << 16) | ('G' << 8) | '1');
9292

9393
/*! \brief
9494
\param

0 commit comments

Comments
 (0)