if(num_join_invites <= g_hash_table_size(confirmed_nodes)) {
if(num_join_invites <= (ssize_t)g_hash_table_size(confirmed_nodes)) {
do_dc_join_finalize(long long action,		    enum crmd_fsa_cause cause,		    enum crmd_fsa_state cur_state,		    enum crmd_fsa_input current_input,		    fsa_data_t *msg_data){	int rc = cib_ok;		if(max_generation_from == NULL) {		crm_warn("There is no CIB to get..."			 " how did R_HAVE_CIB get unset?");		set_bit_inplace(fsa_input_register, R_HAVE_CIB);	}		if(! is_set(fsa_input_register, R_HAVE_CIB)) {		/* ask for the agreed best CIB */		enum cib_errors rc = cib_ok;		crm_info("Asking %s for its copy of the CIB",			 crm_str(max_generation_from));		CRM_DEV_ASSERT(cib_not_master != fsa_cib_conn->cmds->is_master(fsa_cib_conn));		if(max_generation_from != NULL) {			rc = fsa_cib_conn->cmds->sync_from(				fsa_cib_conn, max_generation_from,				NULL, cib_sync_call);		}		if(max_generation_from != NULL && rc == cib_ok) {			crm_data_t *update = NULL;			crm_data_t *cib = createEmptyCib();						set_uuid(fsa_cluster_conn, cib,				 XML_ATTR_DC_UUID, fsa_our_uname);			crm_devel("Update %s in the CIB to our uuid: %s",				  XML_ATTR_DC_UUID,				  crm_element_value(cib, XML_ATTR_DC_UUID));			update = create_cib_fragment(cib, NULL);			free_xml(cib);			update_local_cib(update);		}				if(rc != cib_ok) {			crm_err("Sync from %s resulted in an error: %s",				max_generation_from, cib_error2string(rc));						register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL);			return I_NULL;		}	}	crm_devel("Bumping the epoche and syncing to %d clients",		  g_hash_table_size(join_requests));	fsa_cib_conn->cmds->bump_epoch(		fsa_cib_conn, cib_scope_local|cib_sync_call);	rc = fsa_cib_conn->cmds->sync(fsa_cib_conn, NULL, cib_sync_call);	CRM_DEV_ASSERT(cib_not_master != rc);	if(rc != cib_ok) {		register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL);		return I_NULL;	}			num_join_invites = 0;	crm_debug("Notifying %d clients of join results",		  g_hash_table_size(join_requests));	g_hash_table_foreach(join_requests, finalize_join_for, NULL);		if(num_join_invites <= g_hash_table_size(confirmed_nodes)) {		crm_info("Not expecting any join confirmations");				register_fsa_input(C_FSA_INTERNAL, I_FINALIZED, NULL);		return I_NULL;	}	/* dont waste time by invoking the PE yet; */	crm_debug("Still waiting on %d outstanding join confirmations",		  num_join_invites - g_hash_table_size(confirmed_nodes));	return I_NULL;}