commit 60a4d49e93b3f15911ce1f6d3a97d2354f6898d2 from: Christian Weisgerber date: Sun Jul 27 08:39:49 2025 UTC fix potential type mismatch between format specifier and argument Cast argument of type uint64_t to unsigned long long to match the %llu format specifier on platforms where this might not be the case. ok thomas commit - 64af9ac04decbf54ce6b650fd2f6a28f235b7332 commit + 60a4d49e93b3f15911ce1f6d3a97d2354f6898d2 blob - 111b5f80283a779cf10f175b7652acea1cd5fccf blob + 05e36fee9259d7988eb9952ef343645c8b8865c5 --- lib/delta.c +++ lib/delta.c @@ -323,7 +323,8 @@ got_delta_apply_in_mem(uint8_t *base_buf, size_t base_ if (err == NULL && *outsize != result_size) err = got_error_fmt(GOT_ERR_BAD_DELTA, "delta application result size mismatch: actual: %zd " - "expected: %llu", *outsize, result_size); + "expected: %llu", *outsize, + (unsigned long long)result_size); return err; } @@ -392,7 +393,8 @@ got_delta_apply(FILE *base_file, const uint8_t *delta_ if (err == NULL && *outsize != result_size) err = got_error_fmt(GOT_ERR_BAD_DELTA, "delta application result size mismatch: actual: %zd " - "expected: %llu", *outsize, result_size); + "expected: %llu", *outsize, + (unsigned long long)result_size); if (memstream != NULL) { if (fclose(memstream) == EOF && err == NULL)