diff options
author | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2014-01-01 22:43:26 -0800 |
---|---|---|
committer | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2014-01-01 22:43:26 -0800 |
commit | a59538d5d57bd2f8b2101e398a97fe8466b8eef7 (patch) | |
tree | 9178734e71eeba342e8de5feded82ee65c2c11f1 /Graphics.c | |
parent | e7086abb4576a777a4b0aff8553047077cdd08ce (diff) |
Silence -Wbad-function-cast
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Diffstat (limited to 'Graphics.c')
-rw-r--r-- | Graphics.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 * \*****************************************************************************/ |