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

Alexandre Julliard julliard at wine.codeweavers.com
Fri Aug 3 08:04:42 CDT 2007


Module: wine
Branch: master
Commit: 68953ffd7d81b7a31da1961a0ecf65b14f2d7d1a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=68953ffd7d81b7a31da1961a0ecf65b14f2d7d1a

Author: Francois Gouget <fgouget at free.fr>
Date:   Fri Aug  3 00:52:59 2007 +0200

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




More information about the wine-cvs mailing list