mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
silence warning
This commit is contained in:
parent
d324ab5c74
commit
ca95d353a4
1 changed files with 2 additions and 2 deletions
|
|
@ -2129,7 +2129,7 @@ slapd_daemon_task(
|
|||
int l;
|
||||
time_t last_idle_check = 0;
|
||||
int ebadf = 0;
|
||||
int tid = (int)ptr;
|
||||
int tid = *(int *)ptr;
|
||||
|
||||
#define SLAPD_IDLE_CHECK_LIMIT 4
|
||||
|
||||
|
|
@ -2919,7 +2919,7 @@ slapd_daemon( void )
|
|||
{
|
||||
/* listener as a separate THREAD */
|
||||
rc = ldap_pvt_thread_create( &listener_tid[i],
|
||||
0, slapd_daemon_task, (void *)i );
|
||||
0, slapd_daemon_task, (void *)&i );
|
||||
|
||||
if ( rc != 0 ) {
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
|
|
|
|||
Loading…
Reference in a new issue