summaryrefslogtreecommitdiff
path: root/audio/mixxx
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-02-01 05:25:29 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-02-01 05:25:29 +0000
commit5416909df83889e125ea8101911138cdd3546c08 (patch)
tree2d14e2590b11cc38796a51db31c1dec606872cf1 /audio/mixxx
parentmultimedia/vdr-plugin-vdrmanager: unbreak with clang 4.0 (diff)
audio/mixxx: unbreak with clang 4.0
src/widget/wdisplay.cpp:89:19: error: ordered comparison between pointer and zero ('QPixmap **' and 'int') if (m_pPixmaps>0) ~~~~~~~~~~^~ PR: 216354 Reported by: antoine (via exp-run) Submitted by: tcberner
Notes
Notes: svn path=/head/; revision=432970
Diffstat (limited to 'audio/mixxx')
-rw-r--r--audio/mixxx/files/patch-src_widget_wdisplay.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/mixxx/files/patch-src_widget_wdisplay.cpp b/audio/mixxx/files/patch-src_widget_wdisplay.cpp
new file mode 100644
index 000000000000..806c99c008f0
--- /dev/null
+++ b/audio/mixxx/files/patch-src_widget_wdisplay.cpp
@@ -0,0 +1,13 @@
+Fix bogus pointer comparison.
+
+--- src/widget/wdisplay.cpp.orig 2013-05-08 23:20:26 UTC
++++ src/widget/wdisplay.cpp
+@@ -86,7 +86,7 @@ void WDisplay::setPixmap(int iPos, const
+
+ void WDisplay::paintEvent(QPaintEvent *)
+ {
+- if (m_pPixmaps>0)
++ if (m_pPixmaps)
+ {
+ int idx = (int)(m_fValue*(float)(m_iNoPos)/128.);
+ // Range check