[Date Prev][Date Next] [Chronological] [Thread] [Top]

R: Re: commit: ldap/servers/slapd schema_init.c



----- Hallvard B Furuseth <h.b.furuseth@usit.uio.no> ha scritto:
> ando@OpenLDAP.org writes:
> > 	schema_init.c  1.452 -> 1.453
> > apply Luca Tamburo's patch for Attribute Certificate and X.509 PMI
> > support (with modifications, ITS#5695)
> 
> Any reason to make these ber_int_t instead of ber_len_t?

Copy & paste?  No clue, and no complains from the compiler, otherwise I would have probably fixed it myself.

> 
> > +		ber_int_t src, dst;
> > +		(...)		
> > +		for ( src = 0, dst = 0; src < is->bv_len; src++, dst++ ) {
> 
> I had just changed them to ber_len_t to kill a warning for the
> comparison with is->bv_len.

Thanks.  p.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it
-----------------------------------