commit 04fb0dd80d172753f311cfa4fdd0e15b107240bd from: Christian Weisgerber via: Thomas Adam date: Mon Oct 24 20:32:18 2022 UTC fix off_t type mismatch off_t is a signed type and depending on the platform, it can be "long" or "long long", so cast to long long for printf(). commit - 4f29e1f17c1ebcccb0eb8893ec0dd9cdc6037a00 commit + 04fb0dd80d172753f311cfa4fdd0e15b107240bd blob - 2e24877174ebd39a54fd2a2041de662795b2b760 blob + 52df19613c4b669fa21213a1bf67793ec0d0c27e --- lib/pack.c +++ lib/pack.c @@ -861,7 +861,7 @@ got_pack_parse_object_type_and_size(uint8_t *type, uin /* We do not support size values which don't fit in 64 bit. */ if (i > 9) return got_error_fmt(GOT_ERR_OBJ_TOO_LARGE, - "packfile offset %llu", offset); + "packfile offset %lld", (long long)offset); if (pack->map) { if (mapoff + sizeof(sizeN) >= pack->filesize)