Skip to content

Commit

Permalink
[NFC][OpenMP][Offloading] Fix compilation warning caused by misuse of…
Browse files Browse the repository at this point in the history
… `static_cast`
  • Loading branch information
shiltian committed Jul 9, 2022
1 parent 9bbc0d4 commit e7d998e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmp/libomptarget/include/omptarget.h
Expand Up @@ -121,7 +121,7 @@ struct __tgt_kernel_arguments {
void **ArgMappers; // User-defined mappers, possibly null.
int64_t Tripcount; // Tripcount for the teams / distribute loop, 0 otherwise.
};
static_assert(sizeof(__tgt_kernel_arguments) == 64 && "Invalid struct size");
static_assert(sizeof(__tgt_kernel_arguments) == 64, "Invalid struct size");

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

0 comments on commit e7d998e

Please sign in to comment.