Skip to content

Commit

Permalink
aja_common: suppres a warning
Browse files Browse the repository at this point in the history
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);}
```
  • Loading branch information
MartinPulec committed Jul 26, 2024
1 parent e412845 commit 9634c5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/aja_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include <cinttypes> // for PRIx64
#include <cstdint> // for uint64_t
#include <cstdio> // for printf
#pragma GCC diagnostic ignored "-Wcast-qual"
#include <ntv2card.h> // for CNTV2Card

#include "aja_common.hpp"
Expand Down

0 comments on commit 9634c5a

Please sign in to comment.