SWDEV-295144 - Typecast arena mem ptr(0x2) to void*, otherwise results in wrong constructor overload.

Change-Id: I433b70dc70377ae0c5f9b29818703e1ac9d95053


[ROCm/clr commit: e01a24d8b5]
Этот коммит содержится в:
kjayapra-amd authored and Maneesh Gupta committed 2021-08-22 23:56:07 -07:00
1 родитель 87ec9d77e6
Коммит 282866139f
1 file changed
+2 -1
+2 -1
Просмотреть файл
@@ -650,7 +650,8 @@ class LiquidFlashFile : public RuntimeObject {
class ArenaMemory: public Buffer {
public:
ArenaMemory(Context& context)
: Buffer(context, 0, std::numeric_limits<uint64_t>::max(), kArenaMemoryPtr) {}
: Buffer(context, 0, std::numeric_limits<uint64_t>::max(),
reinterpret_cast<void*>(kArenaMemoryPtr)) {}
};
} // namespace amd