mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
msrle32: Don't bother using the register storage class specifier.
This commit is contained in:
parent
07d602c4f1
commit
c046d30fb7
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ static HINSTANCE MSRLE32_hModule = 0;
|
||||||
#define QUALITY_to_DIST(q) (ICQUALITY_HIGH - q)
|
#define QUALITY_to_DIST(q) (ICQUALITY_HIGH - q)
|
||||||
static inline WORD ColorCmp(WORD clr1, WORD clr2)
|
static inline WORD ColorCmp(WORD clr1, WORD clr2)
|
||||||
{
|
{
|
||||||
register UINT a = (clr1-clr2);
|
UINT a = clr1 - clr2;
|
||||||
return SQR(a);
|
return SQR(a);
|
||||||
}
|
}
|
||||||
static inline WORD Intensity(RGBQUAD clr)
|
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 */
|
{ /* swap buffer for current and previous frame */
|
||||||
/* Don't free and alloc new -- costs to much time and they are of equal size ! */
|
/* 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->pPrevFrame = pi->pCurFrame;
|
||||||
pi->pCurFrame = pTmp;
|
pi->pCurFrame = pTmp;
|
||||||
|
|
Loading…
Reference in a new issue