mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
Fix pointer cast in assignment
This commit is contained in:
parent
aa37b27ab3
commit
82c73ef51a
1 changed files with 1 additions and 1 deletions
|
|
@ -1125,7 +1125,7 @@ slap_cf_aux_table_unparse( void *src, struct berval *bv, slap_cf_aux_table *tab0
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'u':
|
case 'u':
|
||||||
uptr = (int *)((char *)src + tab->off);
|
uptr = (unsigned *)((char *)src + tab->off);
|
||||||
*ptr++ = ' ';
|
*ptr++ = ' ';
|
||||||
ptr = lutil_strcopy( ptr, tab->key.bv_val );
|
ptr = lutil_strcopy( ptr, tab->key.bv_val );
|
||||||
ptr += snprintf( ptr, sizeof( buf ) - ( ptr - buf ), "%u", *uptr );
|
ptr += snprintf( ptr, sizeof( buf ) - ( ptr - buf ), "%u", *uptr );
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue