diff options
Diffstat (limited to 'include/attribute.h')
-rw-r--r-- | include/attribute.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/attribute.h b/include/attribute.h index ff354cb..93f7bc4 100644 --- a/include/attribute.h +++ b/include/attribute.h @@ -116,7 +116,7 @@ public: public: \ Tosa##NAME##Attribute(const TosaAttributeBase* options) \ { \ - const Tosa##NAME##Attribute* p = reinterpret_cast<const Tosa##NAME##Attribute*>(options); \ + const Tosa##NAME##Attribute* p = static_cast<const Tosa##NAME##Attribute*>(options); \ *this = *p; \ } \ Tosa##NAME##Attribute(const Tosa##NAME##Attribute* p) \ |