Warning cleanup: signed meets unsigned.

This commit is contained in:
Hallvard Furuseth 2008-10-13 08:13:27 +00:00
parent f40582fc7d
commit 03a729673c
2 changed files with 3 additions and 3 deletions

View file

@ -716,7 +716,7 @@ static int chk_lanman(
const struct berval *cred,
const char **text )
{
int i;
ber_len_t i;
char UcasePassword[15];
des_cblock key;
des_key_schedule schedule;
@ -1003,7 +1003,7 @@ static int hash_lanman(
const char **text )
{
int i;
ber_len_t i;
char UcasePassword[15];
des_cblock key;
des_key_schedule schedule;

View file

@ -940,7 +940,7 @@ lutil_snprintf( char *buf, ber_len_t bufsize, char **next, ber_len_t *len, LDAP_
*len = ret;
}
if ( ret >= bufsize ) {
if ( (unsigned) ret >= bufsize ) {
if ( next ) {
*next = &buf[ bufsize - 1 ];
}