mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Cast %ld format arg to long
This commit is contained in:
parent
b90c3d6fd3
commit
909f5e6ae9
@ -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 New Issue
Block a user