Commit 8e4114be authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

ndis.sys/tests: Enable compilation with long types.

parent ce19b2f3
EXTRADEFS = -DWINE_NO_LONG_TYPES
TESTDLL = ndis.sys TESTDLL = ndis.sys
IMPORTS = iphlpapi advapi32 ole32 IMPORTS = iphlpapi advapi32 ole32
......
...@@ -54,7 +54,7 @@ static void test_device(const WCHAR *service_name, const MIB_IF_ROW2 *row) ...@@ -54,7 +54,7 @@ static void test_device(const WCHAR *service_name, const MIB_IF_ROW2 *row)
if (status != STATUS_SUCCESS) if (status != STATUS_SUCCESS)
{ {
skip( "Couldn't open the device (status = %d)\n", status ); skip( "Couldn't open the device (status = %ld)\n", status );
return; return;
} }
...@@ -63,8 +63,8 @@ static void test_device(const WCHAR *service_name, const MIB_IF_ROW2 *row) ...@@ -63,8 +63,8 @@ static void test_device(const WCHAR *service_name, const MIB_IF_ROW2 *row)
iosb.Information = 0xdeadbeef; iosb.Information = 0xdeadbeef;
status = NtDeviceIoControlFile( netdev, NULL, NULL, NULL, &iosb, status = NtDeviceIoControlFile( netdev, NULL, NULL, NULL, &iosb,
IOCTL_NDIS_QUERY_GLOBAL_STATS, &oid, sizeof(oid), &medium, sizeof(medium) ); IOCTL_NDIS_QUERY_GLOBAL_STATS, &oid, sizeof(oid), &medium, sizeof(medium) );
ok(status == STATUS_INVALID_PARAMETER, "got status %#x\n", status); ok(status == STATUS_INVALID_PARAMETER, "got status %#lx\n", status);
ok(iosb.Status == 0xdeadbeef, "got %#x\n", iosb.Status); ok(iosb.Status == 0xdeadbeef, "got %#lx\n", iosb.Status);
ok(iosb.Information == 0xdeadbeef, "got size %#Ix\n", iosb.Information); ok(iosb.Information == 0xdeadbeef, "got size %#Ix\n", iosb.Information);
oid = OID_GEN_MEDIA_SUPPORTED; oid = OID_GEN_MEDIA_SUPPORTED;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment