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:
Greg Tucker 2019-07-03 15:17:02 -07:00
parent 430e862a9c
commit 25374814c9
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;