compiler warnings about format strings
mouring at etoh.eviladmin.org
mouring at etoh.eviladmin.org
Thu Apr 5 04:05:44 EST 2001
On Wed, 4 Apr 2001, Wayne Davison wrote:
> Is anyone bothered by the compiler warnings that indicate that the
> format strings don't match the associated variables? I was, so I cast
> most of the objectionable args (pids, uids, gids) to "long", and added
> an "l" (el) to the format string. A single item was cast to an int.
>
> Here's the patch. If you haven't applied my UseLogin patch, the line
> numbers in session.c will be offset by -16 lines.
>
What platform is this for? Majority of the platforms I'm on pid is
defined as u_int/int not u_long/long so I don't personally see
such mismatch errors.
- Ben
More information about the openssh-unix-dev
mailing list