Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address compiler warnings on ppc64le and s390x #310

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion igzip/adler32_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include "igzip_checksums.h"

uint32_t
adler32_base(uint32_t adler32, uint8_t *start, uint32_t length)
adler32_base(uint32_t adler32, uint8_t *start, uint64_t length)
{
uint8_t *end, *next = start;
uint64_t A, B;
Expand Down
17 changes: 9 additions & 8 deletions igzip/igzip_base_aliases.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ extern void
isal_deflate_hash_base(uint16_t *, uint32_t, uint32_t, uint8_t *, uint32_t);

void
set_long_icf_fg_base(uint8_t *next_in, uint8_t *end_in, struct deflate_icf *match_lookup,
struct level_buf *level_buf);
void
set_long_icf_fg_base(uint8_t *next_in, uint64_t processed, uint64_t input_size,
struct deflate_icf *match_lookup);

uint64_t
gen_icf_map_h1_base(struct isal_zstream *stream, struct deflate_icf *matches_icf_lookup,
uint64_t input_size);

Expand Down Expand Up @@ -167,15 +168,15 @@ isal_deflate_hash_lvl3(uint16_t *hash_table, uint32_t hash_mask, uint32_t curren
}

void
set_long_icf_fg(uint8_t *next_in, uint8_t *end_in, struct deflate_icf *match_lookup,
struct level_buf *level_buf)
set_long_icf_fg(uint8_t *next_in, uint64_t processed, uint64_t input_size,
struct deflate_icf *match_lookup)
{
set_long_icf_fg_base(next_in, end_in, match_lookup, level_buf);
set_long_icf_fg_base(next_in, processed, input_size, match_lookup);
}

void
uint64_t
gen_icf_map_lh1(struct isal_zstream *stream, struct deflate_icf *matches_icf_lookup,
uint64_t input_size)
{
gen_icf_map_h1_base(stream, matches_icf_lookup, input_size);
return gen_icf_map_h1_base(stream, matches_icf_lookup, input_size);
}
2 changes: 1 addition & 1 deletion igzip/igzip_icf_body.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "igzip_level_buf_structs.h"

extern uint64_t
gen_icf_map_lh1(struct isal_zstream *, struct deflate_icf *, uint32_t);
gen_icf_map_lh1(struct isal_zstream *, struct deflate_icf *, uint64_t);
extern void
set_long_icf_fg(uint8_t *, uint64_t, uint64_t, struct deflate_icf *);
extern void
Expand Down
Loading