Snippets for mutt 2.4.2 from Alpine x86
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-x86/community/mutt/mutt-2.4.2-r0.log.
-
pager.c:1470:19: warning: format '%c' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 1470 | printw("^%c", ('@' + wc) & 0x7f); | ~^ ~~~~~~~~~~~~~~~~~ | | | | int long int | %ld -
pager.c:1478:22: warning: format '%o' expects argument of type 'unsigned int', but argument 2 has type 'wchar_t' {aka 'long int'} [-Wformat=] 1478 | printw("\\%03o", wc); | ~~~^ ~~ | | | | | wchar_t {aka long int} | unsigned int | %03lo -
pgp.c:1136:15: warning: 'saved_offset' may be used uninitialized [-Wmaybe-uninitialized] 1136 | b->offset = saved_offset; | ~~~~~~~~~~^~~~~~~~~~~~~~ -
pgp.c:1135:15: warning: 'saved_length' may be used uninitialized [-Wmaybe-uninitialized] 1135 | b->length = saved_length; | ~~~~~~~~~~^~~~~~~~~~~~~~