diff --git a/rocclr/runtime/platform/object.hpp b/rocclr/runtime/platform/object.hpp index aa1fb9ba3c..67eead74ba 100644 --- a/rocclr/runtime/platform/object.hpp +++ b/rocclr/runtime/platform/object.hpp @@ -205,7 +205,7 @@ struct Coord3D { bool operator==(const Coord3D& rhs) const { return c[0] == rhs.c[0] && c[1] == rhs.c[1] && c[2] == rhs.c[2]; } - operator size_t*() { + explicit operator size_t*() { return &c[0]; } };