summaryrefslogtreecommitdiff
path: root/Graphics.c
diff options
context:
space:
mode:
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 *
\*****************************************************************************/