From 7efa22c2b739749c28a717ab9c587879646652c9 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sun, 6 Nov 2005 23:34:33 +0000 Subject: [PATCH] fix type issue --- servers/slapd/back-sql/entry-id.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;