Skip to content

Commit

Permalink
Fix cts build error on mariner OS (#1872)
Browse files Browse the repository at this point in the history
  • Loading branch information
jujiang-del authored Jul 2, 2024
1 parent 38ae617 commit 6b4d57d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ struct CommandBufferPrintfTest : public BasicCommandBufferTest
std::max(min_pattern_length, rand() % max_pattern_length);

std::vector<cl_char> pattern(pattern_length + 1, pattern_character);
pattern[pattern_length] = '\0';
pattern.back() = '\0';
simul_passes[i] = { pattern,
{ cl_int(i * offset), cl_int(pattern_length) },
std::vector<cl_char>(num_elements
Expand Down

0 comments on commit 6b4d57d

Please sign in to comment.