make_requests: Do not generate code that casts zero to a pointer.

This commit is contained in:
Michael Stefaniuc 2008-11-05 10:50:38 +01:00 committed by Alexandre Julliard
parent 3591663cca
commit df17fcdafb
1 changed files with 1 additions and 1 deletions

View File

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