Skip to content

Commit b0c8273

Browse files
authored
Merge pull request #3994 from hppritcha/topic/swat_issue_3968
oshmem: fix issue with shmem_g c11 generics
2 parents a7a3042 + 1d612da commit b0c8273

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)