]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/alock.c
Warning cleanup: signed meets unsigned. ber_flatten2() returns -1 on
[openldap] / servers / slapd / alock.c
index 3d091bf60fcbcb05983c42f1e636f517533b4df7..1a50a399f159cc2176cdf1e433ca1c93528bacd8 100644 (file)
@@ -178,7 +178,7 @@ alock_read_iattr ( unsigned char * bufptr )
        assert (bufptr != NULL);
 
        bufptr += sizeof (unsigned long int);
-       for (count=0; count <= sizeof (unsigned long int); ++count) {
+       for (count=0; count <= (int) sizeof (unsigned long int); ++count) {
                val <<= 8;
                val += (unsigned long int) *bufptr--;
        }