diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 946be3c..63dcbb5 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -41,7 +41,7 @@ jobs: uses: actions/checkout@v3 - name: clang-format - run: find src -type f -exec clang-format --dry-run --Werror {} \; + run: clang-format --dry-run --Werror src/**/*.cc src/**/*.h android: name: Android diff --git a/src/platform_compat.cc b/src/platform_compat.cc index 7a8f425..031cdae 100644 --- a/src/platform_compat.cc +++ b/src/platform_compat.cc @@ -315,7 +315,7 @@ void compat_resolve_path(char* path) #ifndef _WIN32 char* pch = path; - DIR *dir; + DIR* dir; if (pch[0] == '/') { dir = opendir("/"); pch++;