Re: slk.c still broken on some architecetures

2021-06-24 Thread Paul Goyette
On Fri, 25 Jun 2021, Brett Lymn wrote: On Thu, Jun 24, 2021 at 08:40:46AM -0700, Paul Goyette wrote: Perhaps this should use ``%zd'' in the format string, rather than using ``%ld'' ??? Thanks to Martin for fixing, he used %zu which looks good to me. Yup, %zu is good.

Re: slk.c still broken on some architecetures

2021-06-24 Thread Brett Lymn
On Thu, Jun 24, 2021 at 08:40:46AM -0700, Paul Goyette wrote: > Perhaps this should use ``%zd'' in the format string, rather than > using ``%ld'' ??? > Thanks to Martin for fixing, he used %zu which looks good to me. -- Brett Lymn -- Sent from my NetBSD device. "We are were wolves", "You mean

Re: slk.c still broken on some architecetures

2021-06-24 Thread Paul Goyette
On Thu, 24 Jun 2021, Martin Husemann wrote: 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

Re: slk.c still broken on some architecetures

2021-06-24 Thread Martin Husemann
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

Re: slk.c still broken on some architecetures

2021-06-24 Thread Paul Goyette
Perhaps this should use ``%zd'' in the format string, rather than using ``%ld'' ??? On Thu, 24 Jun 2021, Paul Goyette wrote: Module Name:src Committed By: blymn Date: Thu Jun 24 05:53:05 UTC 2021 Modified Files: src/lib/libcurses: slk.c Log Message: Make sure we

slk.c still broken on some architecetures

2021-06-24 Thread Paul Goyette
Module Name:src Committed By: blymn Date: Thu Jun 24 05:53:05 UTC 2021 Modified Files: src/lib/libcurses: slk.c Log Message: Make sure we don't use wide char routines when DISABLE_WCHAR is in effect. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10