]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/mag-gfx/include/geometry
update
[l4.git] / l4 / pkg / mag-gfx / include / geometry
index 801570c58ade1cef363a78f7a7616f85376b360e..153f9d937a028754891c79490d0486b5f65525e7 100644 (file)
@@ -269,7 +269,7 @@ public:
   Flags(E e) : _v(e) {}
   Flags(Flags const &o) : _v(o._v) {}
 
-  operator Private_bool * () const { return (Private_bool *)_v; }
+  operator Private_bool * () const { return (Private_bool *)(long)_v; }
   bool operator ! () const { return !_v; }
   Flags operator | (Flags const &o) const { return Flags(_v | o._v, true); }
   Flags operator | (Enum e) const { return Flags(_v | (unsigned)e, true); }