: Fix compilation errors with gcc 7.2.1 for hsa runtime.
Change-Id: I3356388753ca78cc0f1e0c3188220d7f3f60283d
[ROCm/ROCR-Runtime commit: b913795c31]
This commit is contained in:
@@ -376,7 +376,7 @@ static size_t get_extension_table_length(uint16_t extension, uint16_t major, uin
|
||||
return 0;
|
||||
}
|
||||
|
||||
char buff[3];
|
||||
char buff[6];
|
||||
sprintf(buff, "%02u", minor);
|
||||
name += std::to_string(major) + "_" + buff + "_pfn_t";
|
||||
|
||||
|
||||
Verwijs in nieuw issue
Block a user