From ccf225f7100b7fe71d356366d6342984f08cdcc2 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 31 Dec 2012 16:02:54 +1100 Subject: [PATCH] Put vchar should take a 64 bit integer and is used from more than one call site so uninline it. --- rzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rzip.c b/rzip.c index 991f245..1153707 100644 --- a/rzip.c +++ b/rzip.c @@ -234,7 +234,7 @@ static inline bool put_u32(rzip_control *control, void *ss, uint32_t s) } /* Put a variable length of bytes dependant on how big the chunk is */ -static inline bool put_vchars(rzip_control *control, void *ss, i64 s, int length) +static bool put_vchars(rzip_control *control, void *ss, i64 s, i64 length) { s = htole64(s); if (unlikely(write_stream(control, ss, 0, (uchar *)&s, length)))