248 |
|
uint8 _pad[sizeof(type)]; |
249 |
|
public: |
250 |
|
operator public_type () const { |
251 |
< |
return (public_type)nw_memory_helper<sizeof(type)>::load((void *)this); |
251 |
> |
return (public_type)(uintptr)nw_memory_helper<sizeof(type)>::load((void *)this); |
252 |
|
} |
253 |
|
public_type operator -> () const { |
254 |
|
return this->operator public_type (); |
255 |
|
} |
256 |
|
nw_scalar_member_helper<type, public_type> & operator = (public_type val) { |
257 |
< |
nw_memory_helper<sizeof(type)>::store((void *)this, (type)val); |
257 |
> |
nw_memory_helper<sizeof(type)>::store((void *)this, (type)(uintptr)val); |
258 |
|
return *this; |
259 |
|
} |
260 |
|
nw_scalar_member_helper<type, public_type> & operator += (int val) { |