diff options
author | Robin Barker <RMBarker@cpan.org> | 2007-12-22 00:39:47 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-12-22 16:17:01 +0000 |
commit | d3f5e39945c1adca90422be3853d860ba9478c11 (patch) | |
tree | 3c862227ab85f5337dad461b490e91a47018452d /ext/GDBM_File | |
parent | 3376de987afecc3e3aea14b3dea087f4b50fd3f4 (diff) | |
download | perl-d3f5e39945c1adca90422be3853d860ba9478c11.tar.gz |
ext/ consting
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <46A0F33545E63740BC7563DE59CA9C6D09399D@exchsvr2.npl.ad.local>
Date: Sat, 22 Dec 2007 00:39:47 -0000
p4raw-id: //depot/perl@32703
Diffstat (limited to 'ext/GDBM_File')
-rw-r--r-- | ext/GDBM_File/typemap | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/GDBM_File/typemap b/ext/GDBM_File/typemap index 8c7cb45b46..3e69721569 100644 --- a/ext/GDBM_File/typemap +++ b/ext/GDBM_File/typemap @@ -37,7 +37,8 @@ T_DATUM_V $var.dsize = (int)PL_na; } else { - $var.dptr = \"\"; + $var.dptr = (char *)\"\"; + /* better would be for .dptr to be const char * */ $var.dsize = 0; } OUTPUT |