mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
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:
parent
6f0410d28f
commit
ccf225f710
2
rzip.c
2
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)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue