Skip to content

Match AttackPattern() declaration and definition

Fixes this warning:

../src/css.c:1644:41: warning: argument 'p_sec' of type 'const uint8_t[2048]' (aka 'const unsigned char[2048]') with mismatched bound [-Warray-parameter]
static int AttackPattern( const uint8_t p_sec[ DVDCSS_BLOCK_SIZE ],
                                        ^
../src/css.c:82:44: note: previously declared as 'const uint8_t[]' (aka 'const unsigned char[]') here
static int  AttackPattern   ( const uint8_t[], uint8_t * );
                                       ^

Merge request reports

Loading