Browse Source

fix jenkins warning, cast of c_mutex now has to be PRMonitor

Ludwig Krispenz 10 years ago
parent
commit
e3c009f5e0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ldap/servers/slapd/conntable.c

+ 1 - 1
ldap/servers/slapd/conntable.c

@@ -352,7 +352,7 @@ connection_table_as_entry(Connection_Table *ct, Slapi_Entry *e)
 	for ( i = 0; i < (ct!=NULL?ct->size:0); i++ )
 	{
 		PR_Lock( ct->table_mutex );
-		if ( (ct->c[i].c_mutex == NULL) || (ct->c[i].c_mutex == (PRLock*)-1) )
+		if ( (ct->c[i].c_mutex == NULL) || (ct->c[i].c_mutex == (PRMonitor*)-1) )
 		{
 			PR_Unlock( ct->table_mutex );
 			continue;