Commit c046d30f authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

msrle32: Don't bother using the register storage class specifier.

parent 07d602c4
......@@ -42,7 +42,7 @@ static HINSTANCE MSRLE32_hModule = 0;
#define QUALITY_to_DIST(q) (ICQUALITY_HIGH - q)
static inline WORD ColorCmp(WORD clr1, WORD clr2)
{
register UINT a = (clr1-clr2);
UINT a = clr1 - clr2;
return SQR(a);
}
static inline WORD Intensity(RGBQUAD clr)
......@@ -1535,7 +1535,7 @@ static LRESULT Compress(CodecInfo *pi, ICCOMPRESS* lpic, DWORD dwSize)
{ /* swap buffer for current and previous frame */
/* Don't free and alloc new -- costs to much time and they are of equal size ! */
register LPWORD pTmp = pi->pPrevFrame;
LPWORD pTmp = pi->pPrevFrame;
pi->pPrevFrame = pi->pCurFrame;
pi->pCurFrame = pTmp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment