Module: wine Branch: master Commit: 09a5f0f1c5daf66f2e3fa493caf86544b0d9416b URL: http://source.winehq.org/git/wine.git/?a=commit;h=09a5f0f1c5daf66f2e3fa493ca...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Jun 28 01:37:49 2012 +0200
gdiplus/tests: Add back some necessary casts.
---
dlls/gdiplus/tests/image.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/tests/image.c b/dlls/gdiplus/tests/image.c index 40673a0..b930b99 100644 --- a/dlls/gdiplus/tests/image.c +++ b/dlls/gdiplus/tests/image.c @@ -27,7 +27,7 @@ #include "gdiplus.h" #include "wine/test.h"
-#define expect(expected, got) ok((got) == (expected), "Expected %d, got %d\n", (expected), (got)) +#define expect(expected, got) ok((got) == (expected), "Expected %d, got %d\n", (UINT)(expected), (UINT)(got)) #define expectf(expected, got) ok(fabs((expected) - (got)) < 0.0001, "Expected %f, got %f\n", (expected), (got))
static BOOL color_match(ARGB c1, ARGB c2, BYTE max_diff)