From e94367cc5ecf466592fee355fe4c2c739dc71cc0 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 17 Feb 2008 13:31:59 +0100 Subject: [PATCH] wintab32: Mark some signed entities as LONG. --- dlls/wintab32/context.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/wintab32/context.c b/dlls/wintab32/context.c index 609ec22db8a..9c4c262337c 100644 --- a/dlls/wintab32/context.c +++ b/dlls/wintab32/context.c @@ -157,8 +157,7 @@ int TABLET_PostTabletMessage(LPOPENCONTEXT newcontext, UINT msg, WPARAM wParam, return 0; } -static inline DWORD ScaleForContext(DWORD In, DWORD InOrg, DWORD InExt, DWORD - OutOrg, DWORD OutExt) +static inline DWORD ScaleForContext(DWORD In, LONG InOrg, LONG InExt, LONG OutOrg, LONG OutExt) { if (((InExt > 0 )&&(OutExt > 0)) || ((InExt<0) && (OutExt < 0))) return ((In - InOrg) * abs(OutExt) / abs(InExt)) + OutOrg;