summaryrefslogtreecommitdiff
path: root/fb/fbbltone.c
diff options
context:
space:
mode:
Diffstat (limited to 'fb/fbbltone.c')
-rw-r--r--fb/fbbltone.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fb/fbbltone.c b/fb/fbbltone.c
index 629b13a0e..0a91575a7 100644
--- a/fb/fbbltone.c
+++ b/fb/fbbltone.c
@@ -26,6 +26,11 @@
#include "fb.h"
+#ifdef __clang__
+/* shift overflow is intentional */
+#pragma clang diagnostic ignored "-Wshift-overflow"
+#endif
+
/*
* Example: srcX = 13 dstX = 8 (FB unit 32 dstBpp 8)
*