1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Removed a couple of places where ancient 3rd party library code still used the register keyword

This commit is contained in:
jules 2018-02-05 12:10:30 +00:00
parent 87c973e191
commit 942af1f022
2 changed files with 3 additions and 3 deletions

View file

@ -138,7 +138,7 @@ static void FLAC__MD5Transform(FLAC__uint32 buf[4], FLAC__uint32 const in[16])
//@@@@@@ OPT: use bswap/intrinsics
static void byteSwap(FLAC__uint32 *buf, unsigned words)
{
register FLAC__uint32 x;
FLAC__uint32 x;
do {
x = *buf;
x = ((x << 8) & 0xff00ff00) | ((x >> 8) & 0x00ff00ff);
@ -147,7 +147,7 @@ static void byteSwap(FLAC__uint32 *buf, unsigned words)
}
static void byteSwapX16(FLAC__uint32 *buf)
{
register FLAC__uint32 x;
FLAC__uint32 x;
x = *buf; x = ((x << 8) & 0xff00ff00) | ((x >> 8) & 0x00ff00ff); *buf++ = (x >> 16) | (x << 16);
x = *buf; x = ((x << 8) & 0xff00ff00) | ((x >> 8) & 0x00ff00ff); *buf++ = (x >> 16) | (x << 16);