Nguyễn Thái Ngọc Duy <[email protected]> writes:
> va_end(params);
> - die(_("pack has bad object at offset %lu: %s"), offset, buf);
> + die(_("pack has bad object at offset %"PRIiMAX": %s"),
> + (intmax_t)offset, buf);
Subject: [PATCH] SQUASH???
diff --git a/builtin/index-pack.c b/builtin/index-pack.c
index 73f7cd2..e2d8ae4 100644
--- a/builtin/index-pack.c
+++ b/builtin/index-pack.c
@@ -349,8 +349,8 @@ static NORETURN void bad_object(off_t offset, const char
*format, ...)
va_start(params, format);
vsnprintf(buf, sizeof(buf), format, params);
va_end(params);
- die(_("pack has bad object at offset %"PRIiMAX": %s"),
- (intmax_t)offset, buf);
+ die(_("pack has bad object at offset %"PRIuMAX": %s"),
+ (uintmax_t)offset, buf);
}
static inline struct thread_local *get_thread_data(void)
--
2.9.1-500-g4c1e1e0
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html