summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cairoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairoint.h b/src/cairoint.h
index 490dfed0..805c5744 100644
--- a/src/cairoint.h
+++ b/src/cairoint.h
@@ -132,7 +132,7 @@ _cairo_win32_tmpfile (void);
})
#else
#define cairo_container_of(ptr, type, member) \
- (type *)((char *) (ptr) - (char *) &((type *)0)->member)
+ ((type *)((char *) (ptr) - (char *) &((type *)0)->member))
#endif