]> git.sur5r.net Git - openldap/commitdiff
remove lint
authorKurt Zeilenga <kurt@openldap.org>
Thu, 1 Jun 2000 22:01:00 +0000 (22:01 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 1 Jun 2000 22:01:00 +0000 (22:01 +0000)
libraries/libldap/open.c
libraries/libldap/sasl.c
servers/slapd/connection.c

index afccb261d7ccfc1d95bba7c8946415c38fe89812..5ef67831e57b5de371ddd88ec811cf3741685987 100644 (file)
@@ -13,6 +13,7 @@
 #include "portable.h"
 
 #include <stdio.h>
+#include <limits.h>
 
 #include <ac/stdlib.h>
 
index e162b04a5389db52da14aee698485d26b9c82b47..ed9308f653bbd143c41c1380c4dc14564a7738dc 100644 (file)
@@ -588,7 +588,7 @@ sb_sasl_read( Sockbuf_IO_Desc *sbiod, void *buf, ber_len_t len)
 
        p->buf_in.buf_size = p->buf_in.buf_end;
 
-       bufptr += ber_pvt_sb_copy_out( &p->buf_in, buf + bufptr, len );
+       bufptr += ber_pvt_sb_copy_out( &p->buf_in, (char*) buf + bufptr, len );
 
        return bufptr;
 }
index 9a3b4feb564594fbabbdaa5f8c8a983216f17e1a..a519b1a85bf118eb0398dcf418e00249b5a239b2 100644 (file)
@@ -7,6 +7,7 @@
 #include "portable.h"
 
 #include <stdio.h>
+#include <limits.h>
 
 #include <ac/socket.h>
 #include <ac/errno.h>