From: Pierangelo Masarati Date: Sun, 6 Nov 2005 23:34:33 +0000 (+0000) Subject: fix type issue X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~76 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7efa22c2b739749c28a717ab9c587879646652c9;p=openldap fix type issue --- diff --git a/servers/slapd/back-sql/entry-id.c b/servers/slapd/back-sql/entry-id.c index 74035025d0..d0aafa1645 100644 --- a/servers/slapd/back-sql/entry-id.c +++ b/servers/slapd/back-sql/entry-id.c @@ -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;