iOS: remove 'truncation from double to float' compiler warning
Change-Id: I0b4b1f062180cfe09ceb275484c39afeaaa90cac Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>bb10
parent
c2e0c126d8
commit
31dfdb49b4
|
|
@ -77,7 +77,7 @@
|
|||
if (QIOSIntegration::instance()->debugWindowManagement()) {
|
||||
static CGFloat hue = 0.0;
|
||||
CGFloat lastHue = hue;
|
||||
for (CGFloat diff = 0; diff < 0.1 || diff > 0.9; diff = fabsf(hue - lastHue))
|
||||
for (CGFloat diff = 0; diff < 0.1 || diff > 0.9; diff = fabs(hue - lastHue))
|
||||
hue = drand48();
|
||||
|
||||
#define colorWithBrightness(br) \
|
||||
|
|
|
|||
Loading…
Reference in New Issue