dnsapi: Define DNS_STATUS as LONG instead of long to improve Win64
compatibility.
Francois Gouget
fgouget at free.fr
Thu Aug 2 17:52:59 CDT 2007
---
dlls/dnsapi/tests/name.c | 2 +-
include/windns.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dnsapi/tests/name.c b/dlls/dnsapi/tests/name.c
index 5d74bdd..a4a9098 100644
--- a/dlls/dnsapi/tests/name.c
+++ b/dlls/dnsapi/tests/name.c
@@ -161,7 +161,7 @@ static void test_DnsValidateName_A( void )
for (i = 0; i < sizeof(test_data) / sizeof(test_data[0]); i++)
{
status = pDnsValidateName_A( test_data[i].name, test_data[i].format );
- ok( status == test_data[i].status, "%d: \'%s\': got %ld, expected %ld\n",
+ ok( status == test_data[i].status, "%d: \'%s\': got %d, expected %d\n",
i, test_data[i].name, status, test_data[i].status );
}
}
diff --git a/include/windns.h b/include/windns.h
index 9b9f6ba..85f38db 100644
--- a/include/windns.h
+++ b/include/windns.h
@@ -155,7 +155,7 @@ typedef enum _DnsSection
DnsSectionAddtional
} DNS_SECTION;
-typedef long DNS_STATUS;
+typedef LONG DNS_STATUS, *PDNS_STATUS;
typedef DWORD IP4_ADDRESS;
typedef struct
--
1.4.4.4
More information about the wine-patches
mailing list