]> git.sur5r.net Git - openldap/commitdiff
fix type issue
authorPierangelo Masarati <ando@openldap.org>
Sun, 6 Nov 2005 23:34:33 +0000 (23:34 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sun, 6 Nov 2005 23:34:33 +0000 (23:34 +0000)
servers/slapd/back-sql/entry-id.c

index 74035025d025a6b559fd8a491e7d09e60bd040f2..d0aafa16458795fe463c97d2f80377460f30b76d 100644 (file)
@@ -460,10 +460,10 @@ backsql_get_attr_vals( void *v_at, void *v_bsi )
                                oldcount = 0,
                                res = 0;
 #ifdef BACKSQL_COUNTQUERY
-       unsigned long           count,
-                               countsize = sizeof( count ),
+       unsigned                count,
                                j,
                                append = 0;
+       SQLLEN                  countsize = sizeof( count );
        Attribute               *attr = NULL;
 
        slap_mr_normalize_func          *normfunc = NULL;