Avoid signedness change warning in test/minigzip.c.
This commit is contained in:
parent
7a7202de35
commit
1bff6f0fd5
@ -426,7 +426,7 @@ static void file_compress(char *file, char *mode) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
end = string_copy(outfile, file, sizeof(outfile));
|
end = string_copy(outfile, file, sizeof(outfile));
|
||||||
string_copy(end, GZ_SUFFIX, (outfile + sizeof(outfile)) - end);
|
string_copy(end, GZ_SUFFIX, sizeof(outfile) - (z_size_t)(end - outfile));
|
||||||
|
|
||||||
in = fopen(file, "rb");
|
in = fopen(file, "rb");
|
||||||
if (in == NULL) {
|
if (in == NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user