Remove annoying warning

Comparison between signed and unsigned values.
remotes/origin/KDE/4.10
Mailson Menezes 14 years ago
parent 96f325896e
commit 116e4f9b80
  1. 2
      core/tilesmanager.cpp

@ -409,7 +409,7 @@ void TilesManager::cleanupPixmapMemory( qulonglong numberOfBytes )
if ( tile->rect.intersects( d->visibleRect ) )
continue;
long pixels = tile->pixmap->width()*tile->pixmap->height();
qulonglong pixels = tile->pixmap->width()*tile->pixmap->height();
d->totalPixels -= pixels;
if ( numberOfBytes < 4*pixels )
numberOfBytes = 0;

Loading…
Cancel
Save