From 68953ffd7d81b7a31da1961a0ecf65b14f2d7d1a Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Fri, 3 Aug 2007 00:52:59 +0200 Subject: [PATCH] dnsapi: Define DNS_STATUS as LONG instead of long to improve Win64 compatibility. --- 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 5d74bddde1..a4a9098393 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 9b9f6ba511..85f38db68c 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 -- 2.32.0.93.g670b81a890