: Fix compilation errors with gcc 7.2.1 for hsa runtime.

Change-Id: I3356388753ca78cc0f1e0c3188220d7f3f60283d


[ROCm/ROCR-Runtime commit: b913795c31]
Este cometimento está contido em:
James Edwards cometeu 2018-02-07 09:22:39 -06:00
1 ascendente f22fab8263
cometimento 27ce54a0aa
1 ficheiro modificado
+1 -1
@@ -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";