Re: [PATCH] warnings cleanup: size_t should be formatted %lu rather than %d
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
Re: [PATCH] warnings cleanup: size_t should be formatted %lu rather than %d
- From: Arthur de Jong <arthur [at] arthurdejong.org>
- To: Tim Rice <tim [at] multitalents.net>
- Cc: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: Re: [PATCH] warnings cleanup: size_t should be formatted %lu rather than %d
- Date: Wed, 11 Mar 2015 23:48:02 +0100
On Wed, 2015-03-11 at 14:29 -0700, Tim Rice wrote:
> The UnixWare 7.1.4 native compiler is still on C89.
> But then come to think of it, the montonic clock changes between 0.9.1
> and 0.9.2 broke my UnixWare build anyway so if I had to patch for "%zd"
> and "%zu", it would be minor.
The idea of the clock changes was to try to detect the correct clock to
use at compile-time. I also had some code ready at some point to do most
of the detection during run-time (because clock_gettime() could return
an error) but found the current approach simpler.
In the tests there is a test_clock check that could provide some more
information.
If you have any patches I could integrate them.
I don't have a UnixWare system available and didn't even think it would
be supported. Do you need to give any special configure options?
Thanks,
--
-- arthur - arthur@arthurdejong.org - http://arthurdejong.org/ --
--
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/
- Re: [PATCH] warnings cleanup: size_t should be formatted %lu rather than %d, (continued)