Skip to content

Commit 51f19da

Browse files
authored
Merge pull request #4039 from hppritcha/topic/swat_issue_3968_v3.0.x
oshmem: fix issue with shmem_g c11 generics
2 parents 9208fc3 + dcd42ac commit 51f19da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oshmem/include/shmem.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ OSHMEM_DECLSPEC long long shmem_longlong_g(const long long* addr, int pe);
298298
OSHMEM_DECLSPEC long double shmem_longdouble_g(const long double* addr, int pe);
299299
#if OSHMEM_HAVE_C11
300300
#define shmem_g(addr, pe) \
301-
_Generic(&*(dst), \
301+
_Generic(&*(addr), \
302302
char*: shmem_char_g, \
303303
short*: shmem_short_g, \
304304
int*: shmem_int_g, \

0 commit comments

Comments
 (0)