mirror of
https://github.com/intel/isa-l.git
synced 2024-12-13 09:52:56 +01:00
Format only changes for new indent version
Change-Id: I2b2a5caf1b31ad56665081145d5e7089fd34d0ab Signed-off-by: Greg Tucker <greg.b.tucker@intel.com>
This commit is contained in:
parent
430e862a9c
commit
25374814c9
@ -918,7 +918,7 @@ static inline void reset_match_history(struct isal_zstream *stream)
|
||||
uint16_t hash_init_val;
|
||||
|
||||
hash_init_val = stream->total_in & 0xffff;
|
||||
wmemset((wchar_t *) hash_table, hash_init_val,
|
||||
wmemset((wchar_t *)hash_table, hash_init_val,
|
||||
hash_table_size / sizeof(wchar_t));
|
||||
|
||||
} else if (sizeof(wchar_t) == 4) {
|
||||
@ -930,7 +930,7 @@ static inline void reset_match_history(struct isal_zstream *stream)
|
||||
rep_bits *= 2)
|
||||
hash_init_val |= hash_init_val << rep_bits;
|
||||
|
||||
wmemset((wchar_t *) hash_table, hash_init_val,
|
||||
wmemset((wchar_t *)hash_table, hash_init_val,
|
||||
hash_table_size / sizeof(wchar_t));
|
||||
} else {
|
||||
if ((stream->total_in & 0xFFFF) == 0)
|
||||
@ -1136,7 +1136,7 @@ uint32_t isal_write_gzip_header(struct isal_zstream *stream, struct isal_gzip_he
|
||||
return ISAL_DECOMP_OK;
|
||||
}
|
||||
|
||||
uint32_t isal_write_zlib_header(struct isal_zstream * stream, struct isal_zlib_header * z_hdr)
|
||||
uint32_t isal_write_zlib_header(struct isal_zstream *stream, struct isal_zlib_header *z_hdr)
|
||||
{
|
||||
uint32_t cmf, flg, dict_flag = 0, hdr_size = ZLIB_HDR_BASE;
|
||||
uint8_t *out_buf = stream->next_out;
|
||||
|
@ -224,7 +224,7 @@ size_t get_filesize(FILE * fp)
|
||||
fseeko(fp, 0, SEEK_END);
|
||||
#endif
|
||||
fgetpos(fp, &pos);
|
||||
file_size = *(size_t *) & pos;
|
||||
file_size = *(size_t *)&pos;
|
||||
fsetpos(fp, &pos_curr); /* Restore position */
|
||||
|
||||
return file_size;
|
||||
|
Loading…
Reference in New Issue
Block a user