diff options
Diffstat (limited to 'ext/ODBM_File/ODBM_File.xs')
-rw-r--r-- | ext/ODBM_File/ODBM_File.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ODBM_File/ODBM_File.xs b/ext/ODBM_File/ODBM_File.xs index 7601c3433b..bb2eb4714a 100644 --- a/ext/ODBM_File/ODBM_File.xs +++ b/ext/ODBM_File/ODBM_File.xs @@ -111,7 +111,7 @@ odbm_TIEHASH(dbtype, filename, flags, mode) Zero(RETVAL, 1, ODBM_File_type) ; RETVAL->dbp = dbp ; ST(0) = sv_mortalcopy(&PL_sv_undef); - sv_setptrobj(ST(0), RETVAL, dbtype); + sv_setptrobj(ST(0), PTR_CAST RETVAL, dbtype); } void |