Fix cts build error on mariner OS (#1872)
This commit is contained in:
parent
38ae617ca4
commit
6b4d57d85c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue