mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix pointer cast in assignment
This commit is contained in:
parent
aa37b27ab3
commit
82c73ef51a
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user