From 1d209b1fd5a5f8afbab5fce5828c69a2f5822ab6 Mon Sep 17 00:00:00 2001 From: Anton Dukhovnikov Date: Wed, 3 Jul 2024 19:29:54 +1200 Subject: [PATCH 1/2] updated CI to v4 Signed-off-by: Anton Dukhovnikov --- .github/workflows/ci.yml | 4 ++-- .github/workflows/clang-format-check.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08b8e6e..801e584 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: CMAKE_CXX_STANDARD: ${{matrix.cxx_std}} OPENEXR_VERSION: ${{matrix.openexr_ver}} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Print shell: bash @@ -118,7 +118,7 @@ jobs: c_compiler: gcc steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set reusable strings # Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file. diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml index 2efd72d..1b13706 100644 --- a/.github/workflows/clang-format-check.yml +++ b/.github/workflows/clang-format-check.yml @@ -5,7 +5,7 @@ jobs: name: Formatting Check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run clang-format style check for C/C++ programs. uses: DoozyX/clang-format-lint-action@v0.16.2 with: From cb5d241577bee7233107c9124183d48457f8849d Mon Sep 17 00:00:00 2001 From: Anton Dukhovnikov Date: Wed, 3 Jul 2024 20:09:02 +1200 Subject: [PATCH 2/2] fix windows build Signed-off-by: Anton Dukhovnikov --- include/rawtoaces/define.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rawtoaces/define.h b/include/rawtoaces/define.h index c76b6db..3b3a28a 100644 --- a/include/rawtoaces/define.h +++ b/include/rawtoaces/define.h @@ -70,7 +70,7 @@ # include # define WIN32_LEAN_AND_MEAN # include -# define snprintf _snprintf +//# define snprintf _snprintf # define _CRT_SECURE_NO_WARNINGS # define cmp_str stricmp #else