diff --git a/.github/workflows/cppcheck.yml b/.github/workflows/cppcheck.yml index 5f4a44df..cd004a71 100644 --- a/.github/workflows/cppcheck.yml +++ b/.github/workflows/cppcheck.yml @@ -30,5 +30,5 @@ jobs: --inline-suppr \ --suppress=missingIncludeSystem \ --suppress=unknownMacro \ - -DVERSION="$(grep -oP 'AC_INIT\(\[[^\]]*\],\s*\[\K[^\]]*' configure.ac)" \ + -DVERSION="\"$(grep -oP 'AC_INIT\(\[[^\]]*\],\s*\[\K[^\]]*' configure.ac)\"" \ . diff --git a/daemon/cups-browsed.c b/daemon/cups-browsed.c index 8dfe1cd9..e4b1e30f 100644 --- a/daemon/cups-browsed.c +++ b/daemon/cups-browsed.c @@ -7339,7 +7339,7 @@ create_queue(void* arg) // many times due to timeouts - Skip print queue creation for this one if (p->timeouted >= HttpMaxRetries) { - fprintf(stderr, "Max number of retries (%d) for creating print queue %s reached, skipping it.\n", + fprintf(stderr, "Max number of retries (%u) for creating print queue %s reached, skipping it.\n", HttpMaxRetries, p->queue_name); goto end; }