Eric Pouech : ntdll/tests: Enable compilation with long types in change.c.
Alexandre Julliard
julliard at winehq.org
Fri Mar 18 16:39:54 CDT 2022
Module: wine
Branch: master
Commit: 7516cb051060d24f0a1287f0eb94c8f730566130
URL: https://source.winehq.org/git/wine.git/?a=commit;h=7516cb051060d24f0a1287f0eb94c8f730566130
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Fri Mar 18 08:33:48 2022 +0100
ntdll/tests: Enable compilation with long types in change.c.
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/tests/change.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/dlls/ntdll/tests/change.c b/dlls/ntdll/tests/change.c
index e7201b52a3c..89e319bccd7 100644
--- a/dlls/ntdll/tests/change.c
+++ b/dlls/ntdll/tests/change.c
@@ -17,6 +17,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#undef WINE_NO_LONG_TYPES /* temporary for migration */
#include <ntstatus.h>
#define WIN32_NO_STATUS
@@ -301,9 +302,9 @@ static void test_ntncdf_async(void)
CloseHandle(hdir);
- ok(U(iosb).Status == STATUS_CANCELLED, "status wrong %x\n",U(iosb).Status);
- ok(U(iosb2).Status == STATUS_CANCELLED, "status wrong %x\n",U(iosb2).Status);
- ok(U(iosb3).Status == STATUS_SUCCESS, "status wrong %x\n",U(iosb3).Status);
+ ok(U(iosb).Status == STATUS_CANCELLED, "status wrong %lx\n",U(iosb).Status);
+ ok(U(iosb2).Status == STATUS_CANCELLED, "status wrong %lx\n",U(iosb2).Status);
+ ok(U(iosb3).Status == STATUS_SUCCESS, "status wrong %lx\n",U(iosb3).Status);
ok(iosb.Information == 0, "info wrong\n");
ok(iosb2.Information == 0, "info wrong\n");
@@ -312,8 +313,8 @@ static void test_ntncdf_async(void)
U(iosb3).Status = 0x111111;
iosb3.Information = 0x222222;
r = pNtCancelIoFile(hdir, &iosb3);
- ok( r == STATUS_INVALID_HANDLE, "cancel failed %x\n", r);
- ok(U(iosb3).Status == 0x111111, "status wrong %x\n",U(iosb3).Status);
+ ok( r == STATUS_INVALID_HANDLE, "cancel failed %lx\n", r);
+ ok(U(iosb3).Status == 0x111111, "status wrong %lx\n",U(iosb3).Status);
ok(iosb3.Information == 0x222222, "info wrong\n");
r = RemoveDirectoryW( path );
More information about the wine-cvs
mailing list