Skip to content

Commit 59fdf4e

Browse files
mdosanjhhjelmn
authored andcommitted
Fixed promotion bug
Signed-off-by: Nathan Hjelm <[email protected]>
1 parent dd74c62 commit 59fdf4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/mca/pml/ob1/custommatch/pml_ob1_custom_match_fuzzy512-word.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ static inline void* custom_match_prq_find_verify(custom_match_prq* list, int tag
106106
{
107107
for(i = elem->start; i <= elem->end; i++)
108108
{
109-
if((0x1 << i & result) && elem->value[i])
109+
if((0x1l << i & result) && elem->value[i])
110110
{
111111
mca_pml_base_request_t *req = (mca_pml_base_request_t *)elem->value[i];
112112
if((req->req_peer == peer || req->req_peer == OMPI_ANY_SOURCE) && (req->req_tag == tag || req->req_tag == OMPI_ANY_TAG))
@@ -414,7 +414,7 @@ static inline void* custom_match_umq_find_verify_hold(custom_match_umq* list, in
414414
{
415415
for(i = elem->start; i <= elem->end; i++)
416416
{
417-
if((0x1 << i & result) && elem->value[i])
417+
if((0x1l << i & result) && elem->value[i])
418418
{
419419
mca_pml_ob1_recv_frag_t *req = (mca_pml_ob1_recv_frag_t *)elem->value[i];
420420
if((req->hdr.hdr_match.hdr_src == peer || peer == OMPI_ANY_SOURCE) && (req->hdr.hdr_match.hdr_tag == tag || tag == OMPI_ANY_TAG))

0 commit comments

Comments
 (0)