winapi_check: Also warn about 'unsigned long's Win64 compatibility problems.

Francois Gouget fgouget at free.fr
Mon Jun 11 06:13:49 CDT 2007


---
 tools/winapi/winapi.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/winapi/winapi.pm b/tools/winapi/winapi.pm
index 9d8b23a..24ec627 100644
--- a/tools/winapi/winapi.pm
+++ b/tools/winapi/winapi.pm
@@ -202,7 +202,7 @@ sub parse_api_file($$) {
 	    }
 	} elsif(defined($kind)) {
 	    my $type = $_;
-            if ($type =~ /^long\b/)
+            if ($type =~ /\blong\b/)
             {
                 $output->write("$file:$linenum: type ($type) is not Win64 compatible\n");
             }
-- 
1.4.4.4




More information about the wine-patches mailing list