File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
.github/actions/setup-common Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 2020 uses : actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
2121 with :
2222 python-version : " 3.x"
23+ - name : Set up latest CMake
24+ if : ${{ runner.os != 'Linux' || inputs.oldest-cmake != 'true' }}
25+ uses : jwlawson/actions-setup-cmake@802fa1a2c4e212495c05bf94dba2704a92a472be # v2.0.2
26+ with :
27+ cmake-version : " latest"
2328 - name : Set up CMake 3.13
2429 if : ${{ runner.os == 'Linux' && inputs.oldest-cmake == 'true' }}
2530 uses : jwlawson/actions-setup-cmake@802fa1a2c4e212495c05bf94dba2704a92a472be # v2.0.2
Original file line number Diff line number Diff line change @@ -85,11 +85,11 @@ extern "C" {
8585 ((AVIF_VERSION_MAJOR * 1000000 ) + (AVIF_VERSION_MINOR * 10000 ) + (AVIF_VERSION_PATCH * 100 ) + AVIF_VERSION_DEVEL)
8686
8787typedef int avifBool;
88- typedef enum avifTrueFalse
88+ enum avifTrueFalse_
8989{
9090 AVIF_FALSE = 0 ,
9191 AVIF_TRUE = 1
92- } avifTrueFalse ;
92+ };
9393
9494#define AVIF_DIAGNOSTICS_ERROR_BUFFER_SIZE 256
9595
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ static inline void avifBreakOnError()
6969 } while (0)
7070#else
7171#define AVIF_ASSERT_OR_RETURN (A ) assert(A)
72- #define AVIF_ASSERT_NOT_REACHED_OR_RETURN assert(AVIF_FALSE );
72+ #define AVIF_ASSERT_NOT_REACHED_OR_RETURN assert(0 );
7373#endif
7474
7575// ---------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments