SWDEV-295144 - Typecast arena mem ptr(0x2) to void*, otherwise results in wrong constructor overload.
Change-Id: I433b70dc70377ae0c5f9b29818703e1ac9d95053
This commit is contained in:
committato da
Maneesh Gupta
parent
e4dae85ade
commit
e01a24d8b5
@@ -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
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user