On Thu, Jun 24, 2021 at 08:33:45AM -0700, Paul Goyette wrote: > /build/netbsd-current/src_ro/lib/libcurses/slk.c: In function '__slk_wset': > /build/netbsd-current/src_ro/lib/libcurses/slk.c:571:52: error: format '%ld' > expects argument of type 'long int', but argument 3 has type 'size_t' {aka > 'unsigned int'} [-Werror=format=] > 571 | __CTRACE(__CTRACE_INPUT, "__slk_wset: wcsrtombs %ld\n", len); > | ~~^ ~~~ > | | | > | | size_t {aka > unsigned int} > | long int > | %d
I fixed that printf format, but the code should not be enabled in default builds (it is #ifdef DEBUG). Somehow you must have enabled that DEBUG code. Martin