Alexandre Julliard : msvcirt/tests: Fix comparison with EOL.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jul 6 06:37:37 CDT 2015
Module: wine
Branch: master
Commit: 853d0f34ff750641a441af125e887eb0ffb25834
URL: http://source.winehq.org/git/wine.git/?a=commit;h=853d0f34ff750641a441af125e887eb0ffb25834
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Jul 6 20:08:00 2015 +0900
msvcirt/tests: Fix comparison with EOL.
---
dlls/msvcirt/tests/msvcirt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msvcirt/tests/msvcirt.c b/dlls/msvcirt/tests/msvcirt.c
index eca0304..0c23ddf 100644
--- a/dlls/msvcirt/tests/msvcirt.c
+++ b/dlls/msvcirt/tests/msvcirt.c
@@ -700,7 +700,7 @@ static void test_streambuf(void)
ret = (int) call_func2(p_streambuf_pbackfail, &sb, EOF);
ok(ret == EOF, "expected EOF got '%c'\n", ret);
ok(sb.gptr == sb.eback + 1, "wrong get pointer, expected %p got %p\n", sb.eback + 1, sb.gptr);
- ok(*sb.gptr == EOF, "expected EOF in the get area, got %c\n", *sb.gptr);
+ ok((signed char)*sb.gptr == EOF, "expected EOF in the get area, got %c\n", *sb.gptr);
sb.gptr = sb.eback;
ret = (int) call_func2(p_streambuf_pbackfail, &sb, 'Z');
ok(ret == EOF, "expected EOF got '%c'\n", ret);
More information about the wine-cvs
mailing list