armv7l-unknown-linux-gnueabihf-gcc -Og -g3 -Wall -Wextra -Werror -std=gnu11 -funsigned-char -fvisibility=hidden -specs=/build/source/src/include/gcc.specs -fno-merge-constants -fPIC -DLIBEFIVAR_VERSION=39 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I/build/source/src/include/ -c -o esl-iter.o esl-iter.c
esl-iter.c: In function 'esl_list_iter_next_with_size_correction':
esl-iter.c:338:80: error: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'off_t' {aka 'long long int'} [-Werror=format=]
338 | warnx("correcting ESL size from %d to %jd at %lx",
| ~~^
| |
| long unsigned int
| %llx
339 | iter->esl->signature_list_size,
340 | (intmax_t)(iter->len - iter->offset), iter->offset);
| ~~~~~~~~~~~~
| |
| off_t {aka long long int}
esl-iter.c:363:82: error: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'off_t' {aka 'long long int'} [-Werror=format=]
363 | warnx("correcting ESL size from %d to %jd at 0x%lx",
| ~~^
| |
| long unsigned int
| %llx
364 | iter->esl->signature_list_size,
365 | (intmax_t)(iter->len - iter->offset), iter->offset);
| ~~~~~~~~~~~~
| |
| off_t {aka long long int}
esl-iter.c:396:29: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
396 | iter->esl = (efi_signature_list_t *)((intptr_t)iter->buf
| ^
esl-iter.c:414:74: error: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'off_t' {aka 'long long int'} [-Werror=format=]
414 | warnx("correcting ESL size from %d to %jd at 0x%lx",
| ~~^
| |
| long unsigned int
| %llx
415 | iter->esl->signature_list_size,
416 | (intmax_t)(iter->len - iter->offset), iter->offset);
| ~~~~~~~~~~~~
| |
| off_t {aka long long int}
cc1: all warnings being treated as errors
make[1]: *** [/build/source/src/include/rules.mk:53: esl-iter.o] Error 1
make[1]: Leaving directory '/build/source/src'
make: *** [Makefile:17: all] Error 2
Error log: