[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/krita/plugins/filters/colorsfilters
From: Cyrille Berger <cyb () lepi ! org>
Date: 2009-08-20 12:19:56
Message-ID: 1250770796.542710.16640.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1013668 by berger:
explicit conversion to qint16 (for --std=c++0x)
M +1 -1 colorsfilters.cc
--- trunk/koffice/krita/plugins/filters/colorsfilters/colorsfilters.cc #1013667:1013668
@@ -225,7 +225,7 @@
// adjust, but since it's partially selected we also only partially adjust
adj->transform(iter.oldRawData(), iter.rawData(), 1);
const quint8 *pixels[2] = {iter.oldRawData(), iter.rawData()};
- qint16 weights[2] = {MAX_SELECTED - selectedness, selectedness};
+ qint16 weights[2] = { qint16(MAX_SELECTED - selectedness), selectedness};
mixOp->mixColors(pixels, weights, 2, iter.rawData());
++iter;
pixelsProcessed++;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic