Put vchar should take a 64 bit integer and is used from more than one call site so uninline it.

This commit is contained in:
Con Kolivas 2012-12-31 16:02:54 +11:00
parent 6f0410d28f
commit ccf225f710

2
rzip.c
View file

@ -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 */ /* 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); s = htole64(s);
if (unlikely(write_stream(control, ss, 0, (uchar *)&s, length))) if (unlikely(write_stream(control, ss, 0, (uchar *)&s, length)))