This repository was archived by the owner on Sep 30, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1313 * Copyright (c) 2006-2012 Cisco Systems, Inc. All rights reserved.
1414 * Copyright (c) 2009-2012 Oracle and/or its affiliates. All rights reserved.
1515 * Copyright (c) 2012 Oak Ridge National Labs. All rights reserved.
16- * Copyright (c) 2015 Los Alamos National Security, LLC. All rights
16+ * Copyright (c) 2015-2016 Los Alamos National Security, LLC. All rights
1717 * reserved.
1818 * $COPYRIGHT$
1919 *
@@ -413,8 +413,8 @@ static inline int ompi_request_complete(ompi_request_t* request, bool with_signa
413413 }
414414
415415 if (!OPAL_ATOMIC_CMPSET_PTR (& request -> req_complete , REQUEST_PENDING , REQUEST_COMPLETED )) {
416- ompi_wait_sync_t * tmp_sync = OPAL_ATOMIC_SWP_PTR (& request -> req_complete ,
417- REQUEST_COMPLETED );
416+ ompi_wait_sync_t * tmp_sync = ( ompi_wait_sync_t * ) OPAL_ATOMIC_SWP_PTR (& request -> req_complete ,
417+ REQUEST_COMPLETED );
418418 /* In the case where another thread concurrently changed the request to REQUEST_PENDING */
419419 if ( REQUEST_PENDING != tmp_sync )
420420 wait_sync_update (tmp_sync , 1 , request -> req_status .MPI_ERROR );
You can’t perform that action at this time.
0 commit comments