From 5a829befc0666e76b30ef2af1c6257c8001354e8 Mon Sep 17 00:00:00 2001 From: Tim Woodall Date: Wed, 7 Jul 2004 13:17:50 +0000 Subject: [PATCH] fix for both 2.96 and 3.+ This commit was SVN r1568. --- src/mca/oob/cofs/src/oob_cofs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mca/oob/cofs/src/oob_cofs.c b/src/mca/oob/cofs/src/oob_cofs.c index 5c44c6589f..4c5c8e1cc5 100644 --- a/src/mca/oob/cofs/src/oob_cofs.c +++ b/src/mca/oob/cofs/src/oob_cofs.c @@ -45,9 +45,9 @@ int mca_oob_cofs_send( /* create the file and open it... */ snprintf(msg_file, OMPI_PATH_MAX, "%s/%d_%d_%d_%ld.msg", mca_oob_cofs_comm_loc, - mca_oob_base_self.jobid, mca_oob_base_self.procid, peer->procid, mca_oob_cofs_serial); + mca_oob_base_self.jobid, mca_oob_base_self.procid, peer->procid, (long)mca_oob_cofs_serial); snprintf(msg_file_tmp, OMPI_PATH_MAX, "%s/.%d_%d_%d_%ld.msg", mca_oob_cofs_comm_loc, - mca_oob_base_self.jobid, mca_oob_base_self.procid, peer->procid, mca_oob_cofs_serial); + mca_oob_base_self.jobid, mca_oob_base_self.procid, peer->procid, (long)mca_oob_cofs_serial); fp = fopen(msg_file_tmp, "w"); if (fp == NULL) { @@ -129,7 +129,7 @@ find_match(ompi_process_id_t jobid, ompi_process_id_t procid) { DIR* dir; struct dirent *ent; - uint64_t tmp_serial; + unsigned long tmp_serial; int tmp_jobid, tmp_procid, tmp_myprocid; int ret; bool found = false;