aboutsummaryrefslogtreecommitdiffstats
path: root/libclut.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 17:58:59 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 17:58:59 +0200
commita79fb47fd9ac05d21b6a930c79dd53ed39ad0c76 (patch)
tree7aad0f981d814988169244c9d6a2ccc871db8e65 /libclut.c
parentm (diff)
downloadlibclut-a79fb47fd9ac05d21b6a930c79dd53ed39ad0c76.tar.gz
libclut-a79fb47fd9ac05d21b6a930c79dd53ed39ad0c76.tar.bz2
libclut-a79fb47fd9ac05d21b6a930c79dd53ed39ad0c76.tar.xz
Fix makefile, fix warnings, fix bugs, and otherwise improve code1.2.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libclut.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libclut.c b/libclut.c
index 911fdce..1136acf 100644
--- a/libclut.c
+++ b/libclut.c
@@ -3,6 +3,11 @@
#include <errno.h>
+#if defined(__GNUC__)
+# pragma GCC diagnostic ignored "-Wunsuffixed-float-constants"
+#endif
+
+
/**
* Convert one component from [0, 1] linear sRGB to [0, 1] sRGB
*