*
* @author Leandro Lucarella <llucax+eventxx@gmail.com>
*
- * @version 0.2
+ * @version 0.4
*
* @par License
* This program is under the BOLA license (see
type operator| (const type& t1, const type& t2)
{
- int r = t1 | t2;
+ int r = static_cast< int >(t1) | static_cast< int >(t2);
return *reinterpret_cast< type* >(&r);
}