From 82c73ef51a4f47f73f3983e5e3ba18f13b2b9ac2 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Mon, 14 Nov 2005 14:43:25 +0000 Subject: [PATCH] Fix pointer cast in assignment --- servers/slapd/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/config.c b/servers/slapd/config.c index 7669a89fcc..da85ee01ab 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -1125,7 +1125,7 @@ slap_cf_aux_table_unparse( void *src, struct berval *bv, slap_cf_aux_table *tab0 break; case 'u': - uptr = (int *)((char *)src + tab->off); + uptr = (unsigned *)((char *)src + tab->off); *ptr++ = ' '; ptr = lutil_strcopy( ptr, tab->key.bv_val ); ptr += snprintf( ptr, sizeof( buf ) - ( ptr - buf ), "%u", *uptr ); -- 2.39.5