Skip to content

Commit e7d998e

Browse files
committed
[NFC][OpenMP][Offloading] Fix compilation warning caused by misuse of static_cast
1 parent 9bbc0d4 commit e7d998e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openmp/libomptarget/include/omptarget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ struct __tgt_kernel_arguments {
121121
void **ArgMappers; // User-defined mappers, possibly null.
122122
int64_t Tripcount; // Tripcount for the teams / distribute loop, 0 otherwise.
123123
};
124-
static_assert(sizeof(__tgt_kernel_arguments) == 64 && "Invalid struct size");
124+
static_assert(sizeof(__tgt_kernel_arguments) == 64, "Invalid struct size");
125125

126126
/// This struct is a record of an entry point or global. For a function
127127
/// entry point the size is expected to be zero

0 commit comments

Comments
 (0)