summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2010-09-16 23:08:02 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2010-09-16 23:27:03 (GMT)
commit349213b37901c832f941a45e5ea630eac2fd2f26 (patch)
tree2cabe5eed8688f64b17a853bb19addee9afebb16 /src/gui/painting
parentfc007d0a99cc52e673c5d2606e5076831f6103b1 (diff)
downloadQt-349213b37901c832f941a45e5ea630eac2fd2f26.zip
Qt-349213b37901c832f941a45e5ea630eac2fd2f26.tar.gz
Qt-349213b37901c832f941a45e5ea630eac2fd2f26.tar.bz2
Fixed compilation of qdrawhelper.cpp with XLC 10
With XLC 10, calls to static functions within a template function need to be fully qualified. Reviewed-by: Marius Storm-Olsen
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qdrawhelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qdrawhelper.cpp b/src/gui/painting/qdrawhelper.cpp
index bd5b0bd..5f190ba 100644
--- a/src/gui/painting/qdrawhelper.cpp
+++ b/src/gui/painting/qdrawhelper.cpp
@@ -4835,7 +4835,7 @@ void QT_FASTCALL blendUntransformed_dest24(DST *dest, const SRC *src,
if (SRC::hasAlpha()) {
while (length >= 4) {
- const quint32 alpha = BYTE_MUL(uint(alpha_4(src)), uint(coverage));
+ const quint32 alpha = QT_PREPEND_NAMESPACE(BYTE_MUL)(uint(alpha_4(src)), uint(coverage));
if (alpha)
interpolate_pixel_4(dest, src, alpha);
length -= 4;