summaryrefslogtreecommitdiff
path: root/ext/ODBM_File
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2014-12-19 16:54:01 +0000
committerDavid Mitchell <davem@iabyn.com>2014-12-19 16:54:01 +0000
commit989909f9ef10b719692bd4948bb438240310ac61 (patch)
tree05cde82565798e7febd684cdec54ace35a18590b /ext/ODBM_File
parent7d10143ce07008cce6c3fa64c88f6d980da00789 (diff)
downloadperl-989909f9ef10b719692bd4948bb438240310ac61.tar.gz
ODBM: fix a compiler warning.
This has been applied blind since my system doesn't have libodbm, but it matches exactly the cast added to NDBM's typemap a few years ago to fix a similar warning.
Diffstat (limited to 'ext/ODBM_File')
-rw-r--r--ext/ODBM_File/typemap2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ODBM_File/typemap b/ext/ODBM_File/typemap
index 8aed61c8c5..706212dfa7 100644
--- a/ext/ODBM_File/typemap
+++ b/ext/ODBM_File/typemap
@@ -42,7 +42,7 @@ T_DATUM_V
$var.dsize = (int)len;
}
else {
- $var.dptr = \"\";
+ $var.dptr = (char *)\"\";
$var.dsize = 0;
}
T_GDATUM