Skip to content
Snippets Groups Projects
Commit 9288be57 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Insert conversion to reduce warnings.

* clang otherwise about having more cases than enum values.
parent 28b96c46
No related branches found
No related tags found
No related merge requests found
......@@ -438,7 +438,7 @@ int main(int argc, char **argv)
{.pos = (int[]){5,4,3,2,1,0}, .num_pos = 6};
recv_messages.rank = (comm_size + my_rank - 1) % comm_size;
switch(curr_reorder_type) {
switch((int)curr_reorder_type) {
case(XT_REORDER_SEND_UP):
xt_quicksort_int_permutation(
(int*)send_messages.pos, (size_t)count, (int*)recv_messages.pos);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment