summaryrefslogtreecommitdiffstats
path: root/bin/pool.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pool.c')
-rw-r--r--bin/pool.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/pool.c b/bin/pool.c
index 5578b72..1d8dabd 100644
--- a/bin/pool.c
+++ b/bin/pool.c
@@ -128,7 +128,10 @@ pool_init(void)
pool_done = NULL;
*/
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wstrict-aliasing"
ev_async_init(&pool_watch, pool_cb);
+#pragma GCC diagnostic pop
ret = pthread_mutex_init(&pool_mutex, NULL);
if (ret == 0)