From 8250c8e42310cb39ceb6ae425bc8546208733e99 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Jan 2020 20:17:35 +0900 Subject: Removed explicit usage of the 'register' keyword. Signed-off-by: Michele Calgaro --- tdm/kfrontend/themer/tdmitem.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tdm/kfrontend') diff --git a/tdm/kfrontend/themer/tdmitem.cpp b/tdm/kfrontend/themer/tdmitem.cpp index 26a4887c1..ce5904a26 100644 --- a/tdm/kfrontend/themer/tdmitem.cpp +++ b/tdm/kfrontend/themer/tdmitem.cpp @@ -322,9 +322,9 @@ KdmItem::paint( TQPainter *p, const TQRect &rect ) TQImage lightVersion; lightVersion = copy.convertToImage(); - register uchar * r = lightVersion.bits(); - register uchar * g = lightVersion.bits() + 1; - register uchar * b = lightVersion.bits() + 2; + uchar * r = lightVersion.bits(); + uchar * g = lightVersion.bits() + 1; + uchar * b = lightVersion.bits() + 2; uchar * end = lightVersion.bits() + lightVersion.numBytes(); while ( r != end ) { @@ -356,7 +356,7 @@ KdmItem::paint( TQPainter *p, const TQRect &rect ) TQImage img( myWidget->size(), 32 ); img = img.convertDepth(32); img.setAlphaBuffer(true); - register uchar * rd = img.bits(); + uchar * rd = img.bits(); for( int y = 0; y < img.height(); ++y ) { for( short int x = 0; x < img.width(); ++x ) -- cgit v1.2.1