summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-12-28 17:42:17 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-12-28 17:42:17 +0000
commitb6075cf36c8e0512910280158dea3b1aba212326 (patch)
tree2c0f4c345a26ffa214db557de3201bbd94d007d8 /src
parent46a427b41091fb7cc84dcf83060a096363f77303 (diff)
downloadirssi-b6075cf36c8e0512910280158dea3b1aba212326.zip
removed warning
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1025 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/perl/perl-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perl/perl-common.c b/src/perl/perl-common.c
index e7333ff1..35b83828 100644
--- a/src/perl/perl-common.c
+++ b/src/perl/perl-common.c
@@ -93,7 +93,7 @@ SV *irssi_bless_plain(const char *stash, void *object)
hv_store(hv, "_irssi", 6, newSViv(GPOINTER_TO_INT(object)), 0);
if (fill_func != NULL)
fill_func(hv, object);
- return sv_bless(newRV_noinc((SV*)hv), gv_stashpv(stash, 1));
+ return sv_bless(newRV_noinc((SV*)hv), gv_stashpv((char *)stash, 1));
}
void *irssi_ref_object(SV *o)