: Fix compilation errors with gcc 7.2.1 for hsa runtime.

Change-Id: I3356388753ca78cc0f1e0c3188220d7f3f60283d


[ROCm/ROCR-Runtime commit: b913795c31]
This commit is contained in:
James Edwards
2018-02-06 12:06:08 -06:00
bovenliggende f22fab8263
commit 27ce54a0aa
@@ -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";