aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-31 22:33:54 +0100
committerMattias Andrée <maandree@kth.se>2023-01-31 22:33:54 +0100
commite63490fcdb151ab113c626d131af1b24dc0d1440 (patch)
treeb21e3d42b5723d207ba6ad956170366c1ed80445 /common.h
parentlibglitter_redistribute_energy_double: add more tests and fix typo in code (diff)
downloadlibglitter-1.1.tar.gz
libglitter-1.1.tar.bz2
libglitter-1.1.tar.xz
Silence false warnings1.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'common.h')
-rw-r--r--common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.h b/common.h
index 3a70c71..33b54dc 100644
--- a/common.h
+++ b/common.h
@@ -55,6 +55,7 @@ struct libglitter_render_context {
# pragma GCC diagnostic ignored "-Wdouble-promotion"
#elif defined(__clang__)
# pragma clang diagnostic ignored "-Wfloat-equal"
+# pragma clang diagnostic ignored "-Wfloat-conversion"
# pragma clang diagnostic ignored "-Wdouble-promotion"
# pragma clang diagnostic ignored "-Wimplicit-float-conversion"
#endif