From c046d30fb70b4cdd53d7ecb5e19d4ddc3fe2afc9 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Mon, 8 Oct 2012 13:26:08 +0200 Subject: [PATCH] msrle32: Don't bother using the register storage class specifier. --- dlls/msrle32/msrle32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msrle32/msrle32.c b/dlls/msrle32/msrle32.c index e1570279c1a..acd38664169 100644 --- a/dlls/msrle32/msrle32.c +++ b/dlls/msrle32/msrle32.c @@ -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;