mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-18 21:04:45 -05:00
Cast %ld format arg to long
This commit is contained in:
parent
b90c3d6fd3
commit
909f5e6ae9
1 changed files with 1 additions and 1 deletions
|
|
@ -353,7 +353,7 @@ conn_create(
|
|||
bv.bv_len = snprintf( buf, sizeof( buf ), "%lu", c->c_connid );
|
||||
attr_merge_one( e, mi->mi_ad_monitorConnectionNumber, &bv, NULL );
|
||||
|
||||
bv.bv_len = snprintf( buf, sizeof( buf ), "%ld", c->c_protocol );
|
||||
bv.bv_len = snprintf( buf, sizeof( buf ), "%ld", (long) c->c_protocol );
|
||||
attr_merge_one( e, mi->mi_ad_monitorConnectionProtocol, &bv, NULL );
|
||||
|
||||
bv.bv_len = snprintf( buf, sizeof( buf ), "%ld", c->c_n_ops_received );
|
||||
|
|
|
|||
Loading…
Reference in a new issue