[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnutls-dev] size_t, int and 64 bit machines
From: |
Simon Josefsson |
Subject: |
Re: [gnutls-dev] size_t, int and 64 bit machines |
Date: |
Wed, 21 Mar 2007 14:41:27 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) |
Werner Koch <address@hidden> writes:
> On Wed, 21 Mar 2007 04:22, address@hidden said:
>
>> - printf ("Peer provided %d certificates.\n", cert_list_size);
>> + printf ("Peer provided %zu certificates.\n", cert_list_size);
>
> Are you sure that all C89 systems can cope with the "z" modifier?
> There should be a configure test to at least warn about it.
I think that patch is wrong, the GnuTLS API here usees 'unsigned int'
and not size_t.
Anyway, gnulib provides a better printf, although I wouldn't want us
to require it for the examples. We don't require that all users use
gnulib...
/Simon
- [gnutls-dev] size_t, int and 64 bit machines, Deanna Phillips, 2007/03/20
- Re: [gnutls-dev] size_t, int and 64 bit machines, Werner Koch, 2007/03/21
- Re: [gnutls-dev] size_t, int and 64 bit machines,
Simon Josefsson <=
- Re: [gnutls-dev] size_t, int and 64 bit machines, Simon Josefsson, 2007/03/21
- Re: [gnutls-dev] size_t, int and 64 bit machines, Florian Weimer, 2007/03/22
- Re: [gnutls-dev] size_t, int and 64 bit machines, Peter Valchev, 2007/03/24