Skip to content
Snippets Groups Projects
Commit 82c73ef5 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Fix pointer cast in assignment

parent aa37b27a
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment