]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/saslauthz.c
fix ITS#5959 fix
[openldap] / servers / slapd / saslauthz.c
index 08c7c690f58c426386ef7b5c4386d3db0b189ecf..fb4764d71b98c2d1cb319039e2cb88893b2aa2c1 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2008 The OpenLDAP Foundation.
+ * Copyright 1998-2009 The OpenLDAP Foundation.
  * Portions Copyright 2000 Mark Adamson, Carnegie Mellon.
  * All rights reserved.
  *
@@ -1699,7 +1699,7 @@ exact_match:
 
                        /* leave room for at least one char of attributeType,
                         * one for '=' and one for ',' */
-                       if ( d < STRLENOF( "x=,") ) {
+                       if ( d < (int) STRLENOF( "x=,") ) {
                                goto CONCLUDED;
                        }