diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:40 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:40 +0900 |
commit | 57ef93c0c479addaa00d9a0cb9ba627dc8599fc5 (patch) | |
tree | dffa54e004224aa825f2159330b735345fbcd572 /noatun-plugins/tippercanoe/core.cpp | |
parent | c75b807cca6bd83ae536655ca17a13fcaf0ad1c9 (diff) | |
download | tdeaddons-57ef93c0c479addaa00d9a0cb9ba627dc8599fc5.tar.gz tdeaddons-57ef93c0c479addaa00d9a0cb9ba627dc8599fc5.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'noatun-plugins/tippercanoe/core.cpp')
-rw-r--r-- | noatun-plugins/tippercanoe/core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noatun-plugins/tippercanoe/core.cpp b/noatun-plugins/tippercanoe/core.cpp index 0fb6fa2..8d1f155 100644 --- a/noatun-plugins/tippercanoe/core.cpp +++ b/noatun-plugins/tippercanoe/core.cpp @@ -115,7 +115,7 @@ inline void Core::addPixelFast(unsigned char *p,int br1,int br2) void Core::fadeFade() { - register unsigned long *ptr = (unsigned long*)output(); + unsigned long *ptr = (unsigned long*)output(); int i = outWidth*outHeight*2/4; do { //Bytewize version was: *(ptr++) -= *ptr+(*ptr>>1)>>4; @@ -303,7 +303,7 @@ bool Core::calculate() int clarity[NumSamples]; //Surround sound int i,j,k; #ifndef LITTLEENDIAN - register sampleType temp; + sampleType temp; #endif int brightFactor = int(Brightness * brightnessTwiddler /(starSize+0.01)); |