From 5f8223670a5901421dd51519d4a28fc9249e2616 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 28 Nov 2003 23:19:30 +0000 Subject: [PATCH] Porting fixes. --- dlls/oleaut32/tests/vartest.c | 10 +++++----- dlls/shlwapi/tests/clsid.c | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c index d84716c6e08..51a8efe8fc0 100644 --- a/dlls/oleaut32/tests/vartest.c +++ b/dlls/oleaut32/tests/vartest.c @@ -3373,11 +3373,11 @@ static void test_VarUdateFromDate(void) } #define UD2T(d,m,y,h,mn,s,ms,dw,dy,flags,r,dt) \ - ud.st.wYear = y; ud.st.wMonth = m; ud.st.wDay = d; ud.st.wHour = h; \ - ud.st.wMinute = mn; ud.st.wSecond = s; ud.st.wMilliseconds = ms; \ - ud.st.wDayOfWeek = dw; ud.wDayOfYear = dy; \ - res = pVarDateFromUdate(&ud, flags, &out); \ - ok(r == res && (FAILED(r) || fabs(out-dt) < 1.0e-11), \ + ud.st.wYear = (y); ud.st.wMonth = (m); ud.st.wDay = (d); ud.st.wHour = (h); \ + ud.st.wMinute = (mn); ud.st.wSecond = (s); ud.st.wMilliseconds = (ms); \ + ud.st.wDayOfWeek = (dw); ud.wDayOfYear = (dy); \ + res = pVarDateFromUdate(&ud, (flags), &out); \ + ok((r) == res && (FAILED(r) || fabs(out-(dt)) < 1.0e-11), \ "expected %lx, %.16g, got %lx, %.16g\n", r, dt, res, out) static void test_VarDateFromUdate(void) diff --git a/dlls/shlwapi/tests/clsid.c b/dlls/shlwapi/tests/clsid.c index d3d30287655..ec0d4178c22 100644 --- a/dlls/shlwapi/tests/clsid.c +++ b/dlls/shlwapi/tests/clsid.c @@ -28,7 +28,6 @@ #include "winuser.h" #include "shlguid.h" #include "shobjidl.h" -#include "wine/debug.h" #define NO_SHLWAPI_REG #define NO_SHLWAPI_PATH #define NO_SHLWAPI_GDI