size_t should be formatted with %zu rather than %d
iow-lz4.c:148:96: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
fprintf(stderr, "invalid upper bound calculated by lz4 library: %d\n", upper_bound);
~~ ^~~~~~~~~~~
%zu
1 warning generated.
size_t
should be formatted with%zu
rather than%d