aboutsummaryrefslogtreecommitdiffstats
path: root/src/output.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-16 11:10:10 +0200
committerMattias Andrée <maandree@kth.se>2016-07-16 11:10:10 +0200
commit73f545ac0fa167aa71b1d0f78de533cf4d5978ef (patch)
tree4942d780580622c65e276d3cfb50a1aa5274dd3e /src/output.c
parentm (diff)
downloadcoopgammad-73f545ac0fa167aa71b1d0f78de533cf4d5978ef.tar.gz
coopgammad-73f545ac0fa167aa71b1d0f78de533cf4d5978ef.tar.bz2
coopgammad-73f545ac0fa167aa71b1d0f78de533cf4d5978ef.tar.xz
Fix warnings
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/output.c')
-rw-r--r--src/output.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/output.c b/src/output.c
index 9e0ce43..264ad9b 100644
--- a/src/output.c
+++ b/src/output.c
@@ -90,6 +90,13 @@ void output_destroy(struct output* this)
}
+
+#if defined(__clang__)
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wcast-align"
+#endif
+
+
/**
* Marshal an output
*
@@ -219,6 +226,12 @@ size_t output_unmarshal(struct output* this, const void* buf)
}
+#if defined(__clang__)
+# pragma GCC diagnostic pop
+#endif
+
+
+
/**
* Compare to outputs by the names of their respective CRTC:s
*