summaryrefslogtreecommitdiff
path: root/Graphics.c
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2014-01-01 22:43:26 -0800
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2014-01-01 22:43:26 -0800
commita59538d5d57bd2f8b2101e398a97fe8466b8eef7 (patch)
tree9178734e71eeba342e8de5feded82ee65c2c11f1 /Graphics.c
parente7086abb4576a777a4b0aff8553047077cdd08ce (diff)
Silence -Wbad-function-cast
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Diffstat (limited to 'Graphics.c')
-rw-r--r--Graphics.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Graphics.c b/Graphics.c
index 43c48b9..39fea11 100644
--- a/Graphics.c
+++ b/Graphics.c
@@ -57,6 +57,12 @@ from The Open Group.
# endif
#endif
+#ifdef __clang__
+/* clang doesn't like (int)floor(d) */
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wbad-function-cast"
+#endif
+
/*****************************************************************************\
* Graphics *
\*****************************************************************************/