dnsapi: Define DNS_STATUS as LONG instead of long to improve Win64 compatibility.

This commit is contained in:
Francois Gouget 2007-08-03 00:52:59 +02:00 committed by Alexandre Julliard
parent 69bc2af990
commit 68953ffd7d
2 changed files with 2 additions and 2 deletions

View File

@ -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 );
}
}

View File

@ -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