This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove the last Null(...) from x2p/*
authorNicholas Clark <nick@ccl4.org>
Thu, 27 Dec 2007 11:35:57 +0000 (11:35 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 27 Dec 2007 11:35:57 +0000 (11:35 +0000)
Something tells me that Win32 is compiling x2p with -DPERL_CORE
*nix dosn't do this.

p4raw-id: //depot/perl@32739

x2p/hash.c

index fb743fd..9cc50f8 100644 (file)
@@ -144,6 +144,6 @@ int
 hiterinit(register HASH *tb)
 {
     tb->tbl_riter = -1;
-    tb->tbl_eiter = Null(HENT*);
+    tb->tbl_eiter = (HENT*)NULL;
     return tb->tbl_fill;
 }