Michael Stefaniuc : make_requests: Do not generate code that casts zero to a pointer.
Alexandre Julliard
julliard at winehq.org
Wed Nov 5 09:38:03 CST 2008
Module: wine
Branch: master
Commit: df17fcdafb40ce789bf1821063fe80eed0b313c8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=df17fcdafb40ce789bf1821063fe80eed0b313c8
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Wed Nov 5 10:50:38 2008 +0100
make_requests: Do not generate code that casts zero to a pointer.
---
tools/make_requests | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/make_requests b/tools/make_requests
index 2dcac16..8dd21a1 100755
--- a/tools/make_requests
+++ b/tools/make_requests
@@ -338,7 +338,7 @@ push @trace_lines, "};\n\n";
push @trace_lines, "static const dump_func reply_dumpers[REQ_NB_REQUESTS] = {\n";
foreach my $req (@requests)
{
- push @trace_lines, " (dump_func)", $replies{$req} ? "dump_${req}_reply,\n" : "0,\n";
+ push @trace_lines, " ", $replies{$req} ? "(dump_func)dump_${req}_reply,\n" : "NULL,\n";
}
push @trace_lines, "};\n\n";
More information about the wine-cvs
mailing list