summaryrefslogtreecommitdiff
path: root/gsk/gskpathopprivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'gsk/gskpathopprivate.h')
-rw-r--r--gsk/gskpathopprivate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gsk/gskpathopprivate.h b/gsk/gskpathopprivate.h
index 864e97e2ea..da1c3e63e4 100644
--- a/gsk/gskpathopprivate.h
+++ b/gsk/gskpathopprivate.h
@@ -58,6 +58,7 @@ gsk_pathop_encode (GskPathOperation op,
const graphene_point_t *pts)
{
/* g_assert (op & GSK_PATHOP_OPERATION_MASK == op); */
+ g_assert ((GPOINTER_TO_SIZE (pts) & GSK_PATHOP_OPERATION_MASK) == 0);
return GSIZE_TO_POINTER (GPOINTER_TO_SIZE (pts) | op);
}