diff --git a/cde/lib/csa/connection.c b/cde/lib/csa/connection.c index 6b7ad0647..91e095daa 100644 --- a/cde/lib/csa/connection.c +++ b/cde/lib/csa/connection.c @@ -62,8 +62,8 @@ static struct timeval timeout_tv; static struct timeval retry_tv; static AUTH *unix_credential = NULL; -static tcp_count = 0; -static cl_count = 0; +static int tcp_count = 0; +static int cl_count = 0; static _DtCm_Client_Info *client_cache_head = NULL; static _DtCm_Client_Info *client_cache_tail = NULL; diff --git a/cde/lib/csa/connection.h b/cde/lib/csa/connection.h index 1cfc4c012..059b7c0f0 100644 --- a/cde/lib/csa/connection.h +++ b/cde/lib/csa/connection.h @@ -108,5 +108,9 @@ extern CSA_return_code _DtCm_get_server_rpc_version P((char *host, int *vers)); extern CSA_return_code _DtCm_clntstat_to_csastat P((enum clnt_stat clntstat)); +extern enum clnt_stat _DtCm_clnt_call(_DtCm_Connection *conn, + u_long proc, xdrproc_t inproc, caddr_t in, + xdrproc_t outproc, caddr_t out, struct timeval tout); + #endif diff --git a/cde/lib/csa/convert5-4.c b/cde/lib/csa/convert5-4.c index 65338b84d..06ee40bf0 100644 --- a/cde/lib/csa/convert5-4.c +++ b/cde/lib/csa/convert5-4.c @@ -803,7 +803,7 @@ _DtCm_add_reminder(char *rem, CSA_reminder * val, Appt_4 *appt) /* convert lead_time to advance value */ if (val->lead_time) _csa_iso8601_to_duration(val->lead_time, <ime); - sprintf(adv, "%d", ltime); + sprintf(adv, "%ld", ltime); if ((newattr->value = strdup(adv)) == NULL) { _DtCm_free_attr4(newattr); diff --git a/cde/lib/csa/debug.c b/cde/lib/csa/debug.c index 628917730..362a6fbac 100644 --- a/cde/lib/csa/debug.c +++ b/cde/lib/csa/debug.c @@ -52,7 +52,7 @@ _DtCm_print_tick(time_t t) _Xctimeparams ctime_buf; a = _XCtime(&t, ctime_buf); - (void) fprintf (stderr, "%d %s\n", t, a); + (void) fprintf (stderr, "%ld %s\n", t, a); } extern void