diff options
Diffstat (limited to 'include/pso/TPlySmth.h')
-rw-r--r-- | include/pso/TPlySmth.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/pso/TPlySmth.h b/include/pso/TPlySmth.h index 2530c7b..e510047 100644 --- a/include/pso/TPlySmth.h +++ b/include/pso/TPlySmth.h @@ -2,8 +2,8 @@ #define TPLYSMTH_H #include <global_types.h> +#include <pso/macros.h> #include <pso/protocol.h> -#include <pso/TArray.h> #include <pso/TProtocol.h> class TPlySmth { @@ -11,8 +11,8 @@ public: TPlySmth() {}; void bswap() { - bswap_32(reinterpret_cast<u32 *>(&m_smth)); - bswap_32(reinterpret_cast<u32 *>(&m_smth1)); + bswap_32(as(u32 *, &m_smth)); + bswap_32(as(u32 *, &m_smth1)); }; public: u8 m_smth[4]; |