Skip to content

Commit 9634c5a

Browse files
committed
aja_common: suppres a warning
suppress a warning in AJA headers (as it already is in vcap/aja): ``` /usr/local/include/libajantv2/ajantv2/includes/ntv2formatdescriptor.h:230:113: error: cast from type ‘const void*’ to type ‘UByte*’ {aka ‘unsigned char*’} casts away qualifiers [-Werror=cast-qual] 230 | inline UByte * GetTopVisibleRowAddress (UByte * pInStartAddress) const {return (UByte *) GetRowAddress (pInStartAddress, firstActiveLine);} ```
1 parent e412845 commit 9634c5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/aja_common.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
#include <cinttypes> // for PRIx64
4444
#include <cstdint> // for uint64_t
4545
#include <cstdio> // for printf
46+
#pragma GCC diagnostic ignored "-Wcast-qual"
4647
#include <ntv2card.h> // for CNTV2Card
4748

4849
#include "aja_common.hpp"

0 commit comments

Comments
 (0)