mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Printf %p expects a void pointer.
Other pointers may have different representation.
This commit is contained in:
parent
6d3d9fe027
commit
6362a51fe8
@ -351,10 +351,10 @@ ldap_back_getconn(Operation *op, SlapReply *rs)
|
||||
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG( BACK_LDAP, INFO,
|
||||
"ldap_back_getconn: conn %p inserted\n", lc, 0, 0);
|
||||
"ldap_back_getconn: conn %p inserted\n", (void *) lc, 0, 0);
|
||||
#else /* !NEW_LOGGING */
|
||||
Debug( LDAP_DEBUG_TRACE,
|
||||
"=>ldap_back_getconn: conn %p inserted\n", lc, 0, 0 );
|
||||
"=>ldap_back_getconn: conn %p inserted\n", (void *) lc, 0, 0 );
|
||||
#endif /* !NEW_LOGGING */
|
||||
|
||||
/* Err could be -1 in case a duplicate ldapconn is inserted */
|
||||
@ -370,10 +370,10 @@ ldap_back_getconn(Operation *op, SlapReply *rs)
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG( BACK_LDAP, INFO,
|
||||
"ldap_back_getconn: conn %p fetched\n",
|
||||
lc, 0, 0 );
|
||||
(void *) lc, 0, 0 );
|
||||
#else /* !NEW_LOGGING */
|
||||
Debug( LDAP_DEBUG_TRACE,
|
||||
"=>ldap_back_getconn: conn %p fetched\n", lc, 0, 0 );
|
||||
"=>ldap_back_getconn: conn %p fetched\n", (void *) lc, 0, 0 );
|
||||
#endif /* !NEW_LOGGING */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user